diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-01-20 11:53:14 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-01-20 12:17:14 +0100 |
commit | 5c533e10e73d92b753d9ac20b2d7ab14f42649b2 (patch) | |
tree | 100991452c4def7948d014c849380b9fc33f9a55 /test/web/twitter_api/password_controller_test.exs | |
parent | 52a0bf62f51d689cdc6f108cbefcb244a4a3737f (diff) | |
download | pleroma-5c533e10e73d92b753d9ac20b2d7ab14f42649b2.tar.gz pleroma-5c533e10e73d92b753d9ac20b2d7ab14f42649b2.zip |
Bump credo to 1.1.5
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 |