projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document improved Apache support
[akkoma]
/
test
/
pleroma
/
web
/
mongoose_im_controller_test.exs
diff --git
a/test/pleroma/web/mongoose_im_controller_test.exs
b/test/pleroma/web/mongoose_im_controller_test.exs
index e3a8aa3d872a082c1bc7b8a1e69f396bfcd87247..a7225d45c23da9108bd41aafb64a57427386b014 100644
(file)
--- a/
test/pleroma/web/mongoose_im_controller_test.exs
+++ b/
test/pleroma/web/mongoose_im_controller_test.exs
@@
-1,9
+1,9
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.MongooseIMControllerTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.MongooseIMControllerTest do
- use Pleroma.Web.ConnCase
+ use Pleroma.Web.ConnCase
, async: true
import Pleroma.Factory
test "/user_exists", %{conn: conn} do
import Pleroma.Factory
test "/user_exists", %{conn: conn} do
@@
-41,13
+41,13
@@
defmodule Pleroma.Web.MongooseIMControllerTest do
end
test "/check_password", %{conn: conn} do
end
test "/check_password", %{conn: conn} do
- user = insert(:user, password_hash: Pbkdf2.hash_pwd_salt("cool"))
+ user = insert(:user, password_hash: P
leroma.Password.P
bkdf2.hash_pwd_salt("cool"))
_deactivated_user =
insert(:user,
nickname: "konata",
deactivated: true,
_deactivated_user =
insert(:user,
nickname: "konata",
deactivated: true,
- password_hash: Pbkdf2.hash_pwd_salt("cool")
+ password_hash: P
leroma.Password.P
bkdf2.hash_pwd_salt("cool")
)
res =
)
res =