diff options
author | lain <lain@soykaf.club> | 2020-01-20 18:10:55 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-01-20 18:10:55 +0100 |
commit | 7d8b709d293064462256d9a6392f993232323a4d (patch) | |
tree | 9565cc8b0eae80ed40cae526a124a3cfa9e2edec /test/web/twitter_api/password_controller_test.exs | |
parent | 4c5b5f14dcec51cba8e86bcfcf2943ee9b49b0e4 (diff) | |
parent | ab36459464311389c2929ff1c48537889066a9f8 (diff) | |
download | pleroma-7d8b709d293064462256d9a6392f993232323a4d.tar.gz pleroma-7d8b709d293064462256d9a6392f993232323a4d.zip |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into emoji-reaction-extensions
Diffstat (limited to 'test/web/twitter_api/password_controller_test.exs')
-rw-r--r-- | test/web/twitter_api/password_controller_test.exs | 2 |
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 |