Linting
This commit is contained in:
parent
9106048c61
commit
aff83eb7c1
1 changed files with 5 additions and 1 deletions
|
@ -1038,7 +1038,11 @@ test "rejects token exchange for user with confirmation_pending set to true" 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue