From: lain Date: Mon, 20 Jan 2020 14:31:14 +0000 (+0100) Subject: StatusControllerTest: Fix typo X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2199d63ddcbbfabb4d0daa70cbebfeac2d50717b;p=akkoma StatusControllerTest: Fix typo --- diff --git a/test/web/mastodon_api/controllers/status_controller_test.exs b/test/web/mastodon_api/controllers/status_controller_test.exs index 0b75fcc91..b03b4b344 100644 --- a/test/web/mastodon_api/controllers/status_controller_test.exs +++ b/test/web/mastodon_api/controllers/status_controller_test.exs @@ -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