projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d344e5
)
Special handling for unconfirmed users based on instance config no longer needed.
author
Mark Felder
<feld@feld.me>
Wed, 20 Jan 2021 17:30:29 +0000
(11:30 -0600)
committer
Mark Felder
<feld@feld.me>
Wed, 20 Jan 2021 17:30:29 +0000
(11:30 -0600)
test/pleroma/web/activity_pub/side_effects_test.exs
patch
|
blob
|
history
diff --git
a/test/pleroma/web/activity_pub/side_effects_test.exs
b/test/pleroma/web/activity_pub/side_effects_test.exs
index e3f45ecdb62d2f21575d9a4dda3c49d34cad25b5..13167f50a8405e1598eca733957f07b3f310caa5 100644
(file)
--- a/
test/pleroma/web/activity_pub/side_effects_test.exs
+++ b/
test/pleroma/web/activity_pub/side_effects_test.exs
@@
-165,14
+165,6
@@
defmodule Pleroma.Web.ActivityPub.SideEffectsTest do
{:ok, delete: delete_user, user: user}
end
- test "when activation is not required", %{delete: delete, user: user} do
- clear_config([:instance, :account_activation_required], false)
- {:ok, _, _} = SideEffects.handle(delete)
- ObanHelpers.perform_all()
-
- assert User.get_cached_by_id(user.id).deactivated
- end
-
test "when activation is required", %{delete: delete, user: user} do
clear_config([:instance, :account_activation_required], true)
{:ok, _, _} = SideEffects.handle(delete)