Fix test issue after 57b71cb85a

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-29 11:20:34 +02:00
parent b3f91237a3
commit e1eb0e9d16
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -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"