Skip to content

Commit a4d43d8

Browse files
michaelklishinmergify[bot]
authored andcommitted
Sort tags before comparing them in this test
now that the server sorts and deduplicates them (cherry picked from commit 9beda74)
1 parent 1633033 commit a4d43d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_cli/test/ctl/set_vhost_tags_command_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ defmodule SetVhostTagsCommandTest do
7777
fn record -> record[:vhost] == context[:vhost] end
7878
)
7979

80-
assert result[:tags] == context[:tags]
80+
assert Enum.sort(result[:tags]) == Enum.sort(context[:tags])
8181
end
8282

8383
@tag user: @vhost, tags: [:qa]

0 commit comments

Comments
 (0)