aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadposter <hannah+pleroma@coffee-and-dreams.uk>2019-07-23 15:31:35 +0100
committerSadposter <hannah+pleroma@coffee-and-dreams.uk>2019-07-23 15:31:35 +0100
commit7026018c8c604ce9e077b13e14c35bd8d7052e2c (patch)
tree4cacab9f044d55b8060c8c042d796887b24464b5
parent452980652dc749d71e96b1cbb17d68d393121a78 (diff)
downloadpleroma-7026018c8c604ce9e077b13e14c35bd8d7052e2c.tar.gz
Use correct URL for tests
-rw-r--r--test/web/mastodon_api/mastodon_api_controller_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs
index 49650b1de..28d3f4117 100644
--- a/test/web/mastodon_api/mastodon_api_controller_test.exs
+++ b/test/web/mastodon_api/mastodon_api_controller_test.exs
@@ -3794,7 +3794,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
response =
conn
|> assign(:user, nil)
- |> get("/api/v1/#{activity.id}/favourited_by")
+ |> get("/api/v1/statuses/#{activity.id}/favourited_by")
|> json_response(:ok)
[%{"id" => id}] = response
@@ -3865,7 +3865,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
response =
conn
|> assign(:user, nil)
- |> get("/api/v1/#{activity.id}/reblogged_by")
+ |> get("/api/v1/statuses/#{activity.id}/reblogged_by")
|> json_response(:ok)
[%{"id" => id}] = response