summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/activity_pub_controller_test.exs
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-09-24 19:03:06 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-09-24 19:03:06 +0200
commit0dc8f3d6d2fa18261e9a6fa8da540c434f1fa67b (patch)
tree961085cbf978e2109eb1c4cc57b0263bd47a5c92 /test/web/activity_pub/activity_pub_controller_test.exs
parent5820dc40fcf325b882344258fe26fc662b7afb54 (diff)
downloadpleroma-0dc8f3d6d2fa18261e9a6fa8da540c434f1fa67b.tar.gz
pleroma-0dc8f3d6d2fa18261e9a6fa8da540c434f1fa67b.zip
/api/ap/uploadMedia → /api/ap/upload_media
Diffstat (limited to 'test/web/activity_pub/activity_pub_controller_test.exs')
-rw-r--r--test/web/activity_pub/activity_pub_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/activity_pub/activity_pub_controller_test.exs b/test/web/activity_pub/activity_pub_controller_test.exs
index c2bcddf85..8868d8a0d 100644
--- a/test/web/activity_pub/activity_pub_controller_test.exs
+++ b/test/web/activity_pub/activity_pub_controller_test.exs
@@ -1008,7 +1008,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do
conn =
conn
|> assign(:user, user)
- |> post("/api/ap/uploadMedia", %{"file" => image, "description" => desc})
+ |> post("/api/ap/upload_media", %{"file" => image, "description" => desc})
assert object = json_response(conn, :created)
assert object["name"] == desc