Linting
This commit is contained in:
parent
9106048c61
commit
aff83eb7c1
|
@ -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
|
test "rejects token exchange for valid credentials belonging to an unapproved user" do
|
||||||
password = "testpassword"
|
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
|
refute Pleroma.User.account_status(user) == :active
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue