aboutsummaryrefslogtreecommitdiff
path: root/test/mix
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-10-13 16:07:36 -0500
committerMark Felder <feld@feld.me>2021-01-15 13:11:51 -0600
commit2c0fe2ea9e32d01caa1bc31093a7ddfdc2793659 (patch)
treef44e0424c4acbd09c16efaf082576d265490d39a /test/mix
parentd36182c08892723b53e801a564531ee7a463052f (diff)
downloadpleroma-2c0fe2ea9e32d01caa1bc31093a7ddfdc2793659.tar.gz
Remove toggle_confirmation; require explicit state change
Also cosmetic changes to make the code clearer
Diffstat (limited to 'test/mix')
-rw-r--r--test/mix/tasks/pleroma/user_test.exs7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/mix/tasks/pleroma/user_test.exs b/test/mix/tasks/pleroma/user_test.exs
index a620e5960..2b5232283 100644
--- a/test/mix/tasks/pleroma/user_test.exs
+++ b/test/mix/tasks/pleroma/user_test.exs
@@ -436,13 +436,6 @@ defmodule Mix.Tasks.Pleroma.UserTest do
assert_received {:mix_shell, :info, [message]}
assert message =~ "Invite for token #{invite.token} was revoked."
end
-
- test "it prints an error message when invite is not exist" do
- Mix.Tasks.Pleroma.User.run(["revoke_invite", "foo"])
-
- assert_received {:mix_shell, :error, [message]}
- assert message =~ "No invite found"
- end
end
describe "running delete_activities" do