test naming fix
This commit is contained in:
parent
1671864d88
commit
0321a3e078
@ -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"} =
|
||||||
|
Loading…
Reference in New Issue
Block a user