projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9106048
)
Linting
author
Lain Soykaf
<lain@lain.com>
Wed, 13 Jan 2021 15:00:12 +0000
(16:00 +0100)
committer
Lain Soykaf
<lain@lain.com>
Wed, 13 Jan 2021 15:00:12 +0000
(16:00 +0100)
test/pleroma/web/o_auth/o_auth_controller_test.exs
patch
|
blob
|
history
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 1c5438cc297d5a7d28ce37b92392842490e49725..c6ee7b7e831a7fac9b16d91135aa2a3ad30b03cd 100644
(file)
--- 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