projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SideEffects: Run in transaction.
[akkoma]
/
test
/
plugs
/
user_enabled_plug_test.exs
diff --git
a/test/plugs/user_enabled_plug_test.exs
b/test/plugs/user_enabled_plug_test.exs
index afe4c94551650504a68470e0129287b27e339a75..b219d8abffa35f759470dccedbefbba9ceddb7f6 100644
(file)
--- a/
test/plugs/user_enabled_plug_test.exs
+++ b/
test/plugs/user_enabled_plug_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Plugs.UserEnabledPlugTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Plugs.UserEnabledPlugTest do
@@
-8,7
+8,7
@@
defmodule Pleroma.Plugs.UserEnabledPlugTest do
alias Pleroma.Plugs.UserEnabledPlug
import Pleroma.Factory
alias Pleroma.Plugs.UserEnabledPlug
import Pleroma.Factory
- clear_config([:instance, :account_activation_required])
+
setup do:
clear_config([:instance, :account_activation_required])
test "doesn't do anything if the user isn't set", %{conn: conn} do
ret_conn =
test "doesn't do anything if the user isn't set", %{conn: conn} do
ret_conn =