projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request 'remove comment about old openssl versions in nginx config' (...
[akkoma]
/
test
/
pleroma
/
web
/
o_auth
/
ldap_authorization_test.exs
diff --git
a/test/pleroma/web/o_auth/ldap_authorization_test.exs
b/test/pleroma/web/o_auth/ldap_authorization_test.exs
index c8a1d65ab5f0614c6174186df96a662b589aa597..502ee091876049622644be709594f0c48ec2d736 100644
(file)
--- a/
test/pleroma/web/o_auth/ldap_authorization_test.exs
+++ b/
test/pleroma/web/o_auth/ldap_authorization_test.exs
@@
-18,7
+18,7
@@
defmodule Pleroma.Web.OAuth.LDAPAuthorizationTest do
@tag @skip
test "authorizes the existing user using LDAP credentials" do
password = "testpassword"
@tag @skip
test "authorizes the existing user using LDAP credentials" do
password = "testpassword"
- user = insert(:user, password_hash: Pleroma.Password.
Pbkdf2.
hash_pwd_salt(password))
+ user = insert(:user, password_hash: Pleroma.Password.hash_pwd_salt(password))
app = insert(:oauth_app, scopes: ["read", "write"])
host = Pleroma.Config.get([:ldap, :host]) |> to_charlist
app = insert(:oauth_app, scopes: ["read", "write"])
host = Pleroma.Config.get([:ldap, :host]) |> to_charlist
@@
-101,7
+101,7
@@
defmodule Pleroma.Web.OAuth.LDAPAuthorizationTest do
@tag @skip
test "disallow authorization for wrong LDAP credentials" do
password = "testpassword"
@tag @skip
test "disallow authorization for wrong LDAP credentials" do
password = "testpassword"
- user = insert(:user, password_hash: Pleroma.Password.
Pbkdf2.
hash_pwd_salt(password))
+ user = insert(:user, password_hash: Pleroma.Password.hash_pwd_salt(password))
app = insert(:oauth_app, scopes: ["read", "write"])
host = Pleroma.Config.get([:ldap, :host]) |> to_charlist
app = insert(:oauth_app, scopes: ["read", "write"])
host = Pleroma.Config.get([:ldap, :host]) |> to_charlist