Skip to content

Commit d7047a7

Browse files
More test fixes
1 parent 9a764bf commit d7047a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/update_vhost_metadata_command.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ defmodule RabbitMQ.CLI.Ctl.Commands.UpdateVhostMetadataCommand do
5353

5454
other ->
5555
{:validation_failure,
56-
{:bad_arguments,
56+
{:bad_argument,
5757
"Default queue type must be one of: quorum, stream, classic. Provided: #{other}"}}
5858
end
5959
end

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
@@ -106,6 +106,6 @@ defmodule UpdateVhostMetadataCommandTest do
106106

107107
test "banner", context do
108108
assert @command.banner([@vhost], context[:opts]) =~
109-
~r/Update metadata of vhost \"#{@vhost}\" \.\.\./
109+
~r/Updating metadata of vhost/
110110
end
111111
end

0 commit comments

Comments
 (0)