Fix test issue after 57b71cb85a
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
b3f91237a3
commit
e1eb0e9d16
|
@ -160,7 +160,7 @@ defmodule Mix.Tasks.Mobilizon.UsersTest do
|
||||||
test "enable and disable at the same time" do
|
test "enable and disable at the same time" do
|
||||||
Modify.run([@email, "--disable", "--enable"])
|
Modify.run([@email, "--disable", "--enable"])
|
||||||
assert_received {:mix_shell, :error, [message]}
|
assert_received {:mix_shell, :error, [message]}
|
||||||
assert message =~ "Can't use both --enabled and --disable options at the same time."
|
assert message =~ "Can't use both --enable and --disable options at the same time."
|
||||||
end
|
end
|
||||||
|
|
||||||
@modified_email "modified@email.tld"
|
@modified_email "modified@email.tld"
|
||||||
|
|
Loading…
Reference in a new issue