Skip to content

Commit

Permalink
Adapt channel maintenance test to not include directory count
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
krauselukas committed Oct 16, 2024
1 parent 9d2b4d8 commit 43aca1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/test/functional/channel_maintenance_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43aca1c

Please sign in to comment.