StatusControllerTest: Fix typo
authorlain <lain@soykaf.club>
Mon, 20 Jan 2020 14:31:14 +0000 (15:31 +0100)
committerlain <lain@soykaf.club>
Mon, 20 Jan 2020 14:31:14 +0000 (15:31 +0100)
test/web/mastodon_api/controllers/status_controller_test.exs

index 0b75fcc9193637c599d61c36110624ff639af048..b03b4b344904ab42904052b47eef3ebd590996ca 100644 (file)
@@ -642,7 +642,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do
       activity = insert(:note_activity)
 
       post(conn, "/api/v1/statuses/#{activity.id}/favourite")
-      assert post(conn, "/api/v2/statuses/#{activity.id}/favourite") |> json_response(200)
+      assert post(conn, "/api/v1/statuses/#{activity.id}/favourite") |> json_response(200)
     end
 
     test "returns 400 error for a wrong id", %{conn: conn} do