diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-08-03 22:20:49 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2020-08-03 22:20:49 -0500 |
commit | 4f57e85ab9c80fb7cb51428cef978793ba22971c (patch) | |
tree | 42ea18f0b678c002c5ae0aa73afee09e208672b3 /test/web/mastodon_api/controllers/account_controller_test.exs | |
parent | 058daf498f10e58221bd29a42799f52e56a800a9 (diff) | |
download | pleroma-4f57e85ab9c80fb7cb51428cef978793ba22971c.tar.gz pleroma-4f57e85ab9c80fb7cb51428cef978793ba22971c.zip |
Email blacklist: Update phrasing again
Diffstat (limited to 'test/web/mastodon_api/controllers/account_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/account_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/controllers/account_controller_test.exs b/test/web/mastodon_api/controllers/account_controller_test.exs index 86e3ac3e7..17a1e7d66 100644 --- a/test/web/mastodon_api/controllers/account_controller_test.exs +++ b/test/web/mastodon_api/controllers/account_controller_test.exs @@ -956,7 +956,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do |> put_req_header("authorization", "Bearer " <> token) |> post("/api/v1/accounts", params) - assert %{"error" => "{\"credentials\":[\"Invalid credentials\"]}"} = + assert %{"error" => "{\"email\":[\"Invalid email\"]}"} = json_response_and_validate_schema(conn, 400) Pleroma.Config.put([User, :email_blacklist], []) |