summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2021-01-13 16:00:12 +0100
committerLain Soykaf <lain@lain.com>2021-01-13 16:00:12 +0100
commitaff83eb7c12b08164c29c134e619cf116127c423 (patch)
tree8814b24451809a03f4678515ca16d8a3b9d0a7e0
parent9106048c6191b4b16037980655514d9b5e430023 (diff)
Linting
-rw-r--r--test/pleroma/web/o_auth/o_auth_controller_test.exs6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/pleroma/web/o_auth/o_auth_controller_test.exs b/test/pleroma/web/o_auth/o_auth_controller_test.exs
index 1c5438cc2..c6ee7b7e8 100644
--- a/test/pleroma/web/o_auth/o_auth_controller_test.exs
+++ b/test/pleroma/web/o_auth/o_auth_controller_test.exs
@@ -1038,7 +1038,11 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do
test "rejects token exchange for valid credentials belonging to an unapproved user" do
password = "testpassword"
- user = insert(:user, password_hash: Pleroma.Password.hash_pwd_salt(password), approval_pending: true)
+ user =
+ insert(:user,
+ password_hash: Pleroma.Password.hash_pwd_salt(password),
+ approval_pending: true
+ )
refute Pleroma.User.account_status(user) == :active