test naming fix
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Mon, 18 May 2020 07:34:34 +0000 (10:34 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Mon, 18 May 2020 07:34:50 +0000 (10:34 +0300)
test/web/mastodon_api/controllers/account_controller_test.exs

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