New mix tasks for controlling user confirmation status and sending confirmation mails
[akkoma] / test / web / mastodon_api / controllers / account_controller_test.exs
index 2cb3886554c345b1b5ad939e224d0457df97677d..17a1e7d661f9234102c28807e54ee0fa7ea8953a 100644 (file)
@@ -956,7 +956,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
         |> put_req_header("authorization", "Bearer " <> token)
         |> post("/api/v1/accounts", params)
 
-      assert %{"error" => "{\"email\":[\"Email domain is blacklisted\"]}"} =
+      assert %{"error" => "{\"email\":[\"Invalid email\"]}"} =
                json_response_and_validate_schema(conn, 400)
 
       Pleroma.Config.put([User, :email_blacklist], [])