Make setting user activation status explicit
This commit is contained in:
parent
7516660753
commit
ebd7d1365b
8 changed files with 24 additions and 24 deletions
|
|
@ -940,7 +940,7 @@ defmodule Pleroma.Web.AdminAPI.UserControllerTest do
|
|||
assert json_response(conn, 200) ==
|
||||
user_response(
|
||||
user,
|
||||
%{"is_active" => user.is_active}
|
||||
%{"is_active" => !user.is_active}
|
||||
)
|
||||
|
||||
log_entry = Repo.one(ModerationLog)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue