commit: aff83eb7c12b08164c29c134e619cf116127c423
parent 9106048c6191b4b16037980655514d9b5e430023
Author: Lain Soykaf <lain@lain.com>
Date: Wed, 13 Jan 2021 16:00:12 +0100
Linting
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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