diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-09-24 19:03:06 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-09-24 19:03:06 +0200 |
commit | 0dc8f3d6d2fa18261e9a6fa8da540c434f1fa67b (patch) | |
tree | 961085cbf978e2109eb1c4cc57b0263bd47a5c92 /test/web/activity_pub/activity_pub_controller_test.exs | |
parent | 5820dc40fcf325b882344258fe26fc662b7afb54 (diff) | |
download | pleroma-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.exs | 2 |
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 |