projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#2497] Media preview proxy for images: fixes, tweaks, refactoring, tests adjustments.
[akkoma]
/
test
/
web
/
oauth
/
ldap_authorization_test.exs
diff --git
a/test/web/oauth/ldap_authorization_test.exs
b/test/web/oauth/ldap_authorization_test.exs
index c55b0ffc574fd50ca0a4c1cc01fe2178fb463cc6..a8fe8a841a6333fcc98c9e5c83e4a3820b164de9 100644
(file)
--- a/
test/web/oauth/ldap_authorization_test.exs
+++ b/
test/web/oauth/ldap_authorization_test.exs
@@
-12,13
+12,9
@@
defmodule Pleroma.Web.OAuth.LDAPAuthorizationTest do
@skip if !Code.ensure_loaded?(:eldap), do: :skip
@skip if !Code.ensure_loaded?(:eldap), do: :skip
- clear_config_all([:ldap, :enabled]) do
- Pleroma.Config.put([:ldap, :enabled], true)
- end
+ setup_all do: clear_config([:ldap, :enabled], true)
- clear_config_all(Pleroma.Web.Auth.Authenticator) do
- Pleroma.Config.put(Pleroma.Web.Auth.Authenticator, Pleroma.Web.Auth.LDAPAuthenticator)
- end
+ setup_all do: clear_config(Pleroma.Web.Auth.Authenticator, Pleroma.Web.Auth.LDAPAuthenticator)
@tag @skip
test "authorizes the existing user using LDAP credentials" do
@tag @skip
test "authorizes the existing user using LDAP credentials" do