Apply suggestion to test/web/admin_api/admin_api_controller_test.exs

This commit is contained in:
Alexander Strizhakov 2020-04-09 10:17:44 +00:00
parent 1cf0d5ab0d
commit 365c34a7a9
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ test "it returns 500 if `invites_enabled` is not enabled", %{conn: conn} do
conn = post(conn, "/api/pleroma/admin/users/email_invite?email=foo@bar.com&name=JD") conn = post(conn, "/api/pleroma/admin/users/email_invite?email=foo@bar.com&name=JD")
assert json_response(conn, :bad_request) == assert json_response(conn, :bad_request) ==
"To send invites you need set `invites_enabled` option to true." "To send invites you need to set the `invites_enabled` option to true."
end end
test "it returns 500 if `registrations_open` is enabled", %{conn: conn} do test "it returns 500 if `registrations_open` is enabled", %{conn: conn} do