diff options
| author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-21 10:02:37 +0300 |
|---|---|---|
| committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-21 10:02:37 +0300 |
| commit | 13918cb545d583decfb728300850b307c59e2031 (patch) | |
| tree | 9bf3d5f4c2e51eec87bd0cd1e8a46a6b94816bfc /test/plugs/admin_secret_authentication_plug_test.exs | |
| parent | c9db0507f8d49aee9988b0b63477672f5df9c0b2 (diff) | |
| parent | 292031f6dd809accbcb3a5ba59d0100d807c5d72 (diff) | |
| download | pleroma-13918cb545d583decfb728300850b307c59e2031.tar.gz pleroma-13918cb545d583decfb728300850b307c59e2031.zip | |
Merge branch 'develop' into gun
Diffstat (limited to 'test/plugs/admin_secret_authentication_plug_test.exs')
| -rw-r--r-- | test/plugs/admin_secret_authentication_plug_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/plugs/admin_secret_authentication_plug_test.exs b/test/plugs/admin_secret_authentication_plug_test.exs index 506b1f609..e41ce1825 100644 --- a/test/plugs/admin_secret_authentication_plug_test.exs +++ b/test/plugs/admin_secret_authentication_plug_test.exs @@ -23,6 +23,8 @@ defmodule Pleroma.Plugs.AdminSecretAuthenticationPlugTest do end describe "when secret set it assigns an admin user" do + clear_config([:admin_token]) + test "with `admin_token` query parameter", %{conn: conn} do Pleroma.Config.put(:admin_token, "password123") |
