diff --git a/src/api/test/functional/channel_maintenance_test.rb b/src/api/test/functional/channel_maintenance_test.rb index 134fb4dbf009..88ef673b1854 100644 --- a/src/api/test/functional/channel_maintenance_test.rb +++ b/src/api/test/functional/channel_maintenance_test.rb @@ -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: 'A' + 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' @@ -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