From 43aca1ccb22d59079c2de9b474862c4bced0ddd6 Mon Sep 17 00:00:00 2001 From: Lukas Krause Date: Wed, 16 Oct 2024 14:34:22 +0200 Subject: [PATCH] Adapt channel maintenance test to not include directory count After changing the `source/:project_name` to always pass the request to the backend, the `count` attribute is not longer part of the `directory` tag. This was only included by the frontend. --- src/api/test/functional/channel_maintenance_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/test/functional/channel_maintenance_test.rb b/src/api/test/functional/channel_maintenance_test.rb index 134fb4dbf009..ba22f7375614 100644 --- a/src/api/test/functional/channel_maintenance_test.rb +++ b/src/api/test/functional/channel_maintenance_test.rb @@ -385,7 +385,7 @@ def test_large_channel_test assert_xml_tag tag: 'entry', attributes: { name: 'pack2.BaseDistro2.0_LinkedUpdateProject' } assert_xml_tag tag: 'entry', attributes: { name: 'pack2.linked.BaseDistro2.0_LinkedUpdateProject' } assert_xml_tag tag: 'entry', attributes: { name: 'patchinfo' } - assert_xml_tag tag: 'directory', attributes: { count: '4' } + assert_xml_tag tag: 'directory' # cleanup delete "/source/#{maintenance_yet_another_project}" assert_response :success