summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/password_controller_test.exs
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-01-21 10:32:27 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-01-21 10:32:27 +0300
commit503d966e9f7d4c41a1bfbd215b375443a858564a (patch)
tree634499f234fcd8d9f2b81523c66eaaf339ee52f8 /test/web/twitter_api/password_controller_test.exs
parentdcae5914d1f7d540e3c20be5988d5e3547a349cd (diff)
parentab36459464311389c2929ff1c48537889066a9f8 (diff)
downloadpleroma-503d966e9f7d4c41a1bfbd215b375443a858564a.tar.gz
pleroma-503d966e9f7d4c41a1bfbd215b375443a858564a.zip
Merge branch 'develop' into admin-be
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