projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CommonAPI: Escape HTML for chat messages.
[akkoma]
/
test
/
plugs
/
admin_secret_authentication_plug_test.exs
diff --git
a/test/plugs/admin_secret_authentication_plug_test.exs
b/test/plugs/admin_secret_authentication_plug_test.exs
index 2e300ac0cf6da12932364e467385ab40e2a6daf7..100016c62842461e987b0c04f82efa71fe6a45a2 100644
(file)
--- a/
test/plugs/admin_secret_authentication_plug_test.exs
+++ b/
test/plugs/admin_secret_authentication_plug_test.exs
@@
-23,7
+23,7
@@
defmodule Pleroma.Plugs.AdminSecretAuthenticationPlugTest do
end
describe "when secret set it assigns an admin user" do
- clear_config([:admin_token])
+
setup do:
clear_config([:admin_token])
test "with `admin_token` query parameter", %{conn: conn} do
Pleroma.Config.put(:admin_token, "password123")