test naming fix

This commit is contained in:
Alexander Strizhakov 2020-05-18 10:34:34 +03:00
parent 1671864d88
commit 0321a3e078
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

View File

@ -128,7 +128,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do
|> json_response_and_validate_schema(404) |> json_response_and_validate_schema(404)
end end
test "returns 401 for deactivated user", %{conn: conn} do test "returns 404 for deactivated user", %{conn: conn} do
user = insert(:user, deactivated: true) user = insert(:user, deactivated: true)
assert %{"error" => "Can't find user"} = assert %{"error" => "Can't find user"} =