Skip to content

Commit

Permalink
[wip] Fix the minitest suite
Browse files Browse the repository at this point in the history
  • Loading branch information
danidoni committed Oct 10, 2024
1 parent b1bb5f2 commit 041eefe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/api/test/functional/channel_maintenance_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ def test_large_channel_test
get '/source/' + incident_project + '/pack2.BaseDistro2.0_LinkedUpdateProject/_meta'
assert_response :success
assert_xml_tag tag: 'releasename', content: 'pack2'
put '/source/' + incident_project + '/pack2.linked.BaseDistro2.0_LinkedUpdateProject/_multibuild', params: '<multibuild><flavor>A</flavor></multibuild>'
assert_response :success
get '/source/' + incident_project + '/pack2.linked.BaseDistro2.0_LinkedUpdateProject/_multibuild'
assert_response :success
get '/source/' + incident_project + '/pack2.linked.BaseDistro2.0_LinkedUpdateProject/_meta'
assert_response :success
assert_xml_tag tag: 'releasename', content: 'pack2.linked'
Expand Down Expand Up @@ -553,11 +557,11 @@ def test_large_channel_test
baseproject: 'BaseDistro3Channel', type: 'rpm' }
get "/search/published/repoinfo/id?match=project='" + incident_project + "'"
assert_response :success
assert_xml_tag tag: 'collection', attributes: { matches: '3' }
assert_xml_tag tag: 'collection', attributes: { matches: '2' }
assert_xml_tag tag: 'repoinfo', attributes: { repository: 'BaseDistro3Channel', project: incident_project }
get '/search/published/repoinfo/id?withdownloadurl=1&match=starts-with(project,"My:Maintenance:")'
assert_response :success
assert_xml_tag tag: 'collection', attributes: { matches: '3' }
assert_xml_tag tag: 'collection', attributes: { matches: '2' }
assert_xml_tag tag: 'repoinfo', attributes: { repository: 'BaseDistro3Channel', project: incident_project }

# create release request
Expand Down

0 comments on commit 041eefe

Please sign in to comment.