summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/password_controller_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-01-20 12:55:51 -0600
committerMark Felder <feld@FreeBSD.org>2020-01-20 12:55:51 -0600
commit390bf9b097cab96b9d3a0214f974044667524442 (patch)
tree2f0a6fbefb264dcedb12910870db0f9aea8c3d29 /test/web/twitter_api/password_controller_test.exs
parentcde828ff7df64740f36b2fc9dfdbfc8d76a8a78d (diff)
parentab36459464311389c2929ff1c48537889066a9f8 (diff)
downloadpleroma-390bf9b097cab96b9d3a0214f974044667524442.tar.gz
pleroma-390bf9b097cab96b9d3a0214f974044667524442.zip
Merge branch 'develop' into fix/attachments-cleanup
Diffstat (limited to 'test/web/twitter_api/password_controller_test.exs')
-rw-r--r--test/web/twitter_api/password_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/twitter_api/password_controller_test.exs b/test/web/twitter_api/password_controller_test.exs
index 840c84a05..29ba7d265 100644
--- a/test/web/twitter_api/password_controller_test.exs
+++ b/test/web/twitter_api/password_controller_test.exs
@@ -55,7 +55,7 @@ defmodule Pleroma.Web.TwitterAPI.PasswordControllerTest do
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