projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Transmogrifier: Handle accepts with the pipeline
[akkoma]
/
test
/
web
/
auth
/
basic_auth_test.exs
diff --git
a/test/web/auth/basic_auth_test.exs
b/test/web/auth/basic_auth_test.exs
index 64f8a686351769b4c4c2704c847861fa8fabed73..bf6e3d2fc2542c24baea459ed666cb2b832e9fac 100644
(file)
--- a/
test/web/auth/basic_auth_test.exs
+++ b/
test/web/auth/basic_auth_test.exs
@@
-11,7
+11,7
@@
defmodule Pleroma.Web.Auth.BasicAuthTest do
conn: conn
} do
user = insert(:user)
conn: conn
} do
user = insert(:user)
- assert
Comeonin.Pbkdf2.checkpw
("test", user.password_hash)
+ assert
Pbkdf2.verify_pass
("test", user.password_hash)
basic_auth_contents =
(URI.encode_www_form(user.nickname) <> ":" <> URI.encode_www_form("test"))
basic_auth_contents =
(URI.encode_www_form(user.nickname) <> ":" <> URI.encode_www_form("test"))