projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'gun' of git.pleroma.social:alex.s/pleroma into gun
[akkoma]
/
test
/
web
/
twitter_api
/
password_controller_test.exs
diff --git
a/test/web/twitter_api/password_controller_test.exs
b/test/web/twitter_api/password_controller_test.exs
index 840c84a0587cd34f49dc122a87b55a30d5cd09a6..0a24860d3e2fb80b52e35643f3b6765d9bafab12 100644
(file)
--- a/
test/web/twitter_api/password_controller_test.exs
+++ b/
test/web/twitter_api/password_controller_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.TwitterAPI.PasswordControllerTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.TwitterAPI.PasswordControllerTest do
@@
-55,7
+55,7
@@
defmodule Pleroma.Web.TwitterAPI.PasswordControllerTest do
user = refresh_record(user)
assert Comeonin.Pbkdf2.checkpw("test", user.password_hash)
user = refresh_record(user)
assert Comeonin.Pbkdf2.checkpw("test", user.password_hash)
- assert
length(Token.get_user_tokens(user)) == 0
+ assert
Enum.empty?(Token.get_user_tokens(user))
end
test "it sets password_reset_pending to false", %{conn: conn} do
end
test "it sets password_reset_pending to false", %{conn: conn} do