Skip to content

Commit 69f4a44

Browse files
Fix remaining update_vhost_metadata command tests
1 parent d7047a7 commit 69f4a44

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps/rabbitmq_cli/test/ctl/update_vhost_metadata_command_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ defmodule UpdateVhostMetadataCommandTest do
6363
add_vhost(@vhost)
6464
desc = "desc 2"
6565

66-
assert @command.run([@vhost], Map.merge(context[:opts], %{desciption: desc})) == :ok
66+
assert @command.run([@vhost], Map.merge(context[:opts], %{description: desc})) == :ok
6767
vh = find_vhost(@vhost)
6868

6969
assert vh

deps/rabbitmq_cli/test/test_helper.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ defmodule TestHelper do
5151
err
5252

5353
vhost_rec ->
54-
{:vhost, ^name, _limits, meta} = vhost_rec
55-
%{meta | name: name}
54+
{:vhost, _name, limits, meta} = vhost_rec
55+
Map.merge(meta, %{name: name, limits: limits})
5656
end
5757
end
5858

0 commit comments

Comments
 (0)