Change user.approval_pending field to user.is_approved
This commit is contained in:
parent
cf367fdbd5
commit
f7e59c28ed
10 changed files with 74 additions and 54 deletions
|
|
@ -1041,7 +1041,7 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do
|
|||
user =
|
||||
insert(:user,
|
||||
password_hash: Pleroma.Password.Pbkdf2.hash_pwd_salt(password),
|
||||
approval_pending: true
|
||||
is_approved: false
|
||||
)
|
||||
|
||||
refute Pleroma.User.account_status(user) == :active
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue