diff options
| author | Michael Klishin <klishinm@vmware.com> | 2023-02-13 22:16:21 -0300 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-02-14 09:46:50 +0000 |
| commit | a4d43d87bbb190a817bd7ccf6c221a2bc7d5e784 (patch) | |
| tree | f0ec7de04df9a5c71f7df5c296714ec7ddb63e54 | |
| parent | 1633033982c122f1e767abafc714be4881dd01a4 (diff) | |
| download | rabbitmq-server-git-a4d43d87bbb190a817bd7ccf6c221a2bc7d5e784.tar.gz | |
Sort tags before comparing them in this test
now that the server sorts and deduplicates them
(cherry picked from commit 9beda74d864ef7b14bb599ef93860610f53f8add)
| -rw-r--r-- | deps/rabbitmq_cli/test/ctl/set_vhost_tags_command_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/rabbitmq_cli/test/ctl/set_vhost_tags_command_test.exs b/deps/rabbitmq_cli/test/ctl/set_vhost_tags_command_test.exs index ce93a4cc98..dc8462335e 100644 --- a/deps/rabbitmq_cli/test/ctl/set_vhost_tags_command_test.exs +++ b/deps/rabbitmq_cli/test/ctl/set_vhost_tags_command_test.exs @@ -77,7 +77,7 @@ defmodule SetVhostTagsCommandTest do fn record -> record[:vhost] == context[:vhost] end ) - assert result[:tags] == context[:tags] + assert Enum.sort(result[:tags]) == Enum.sort(context[:tags]) end @tag user: @vhost, tags: [:qa] |
