summaryrefslogtreecommitdiff
path: root/test/web/activity_pub/activity_pub_controller_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-05-12 23:59:26 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-05-13 00:25:21 +0400
commit7803a85d2ced092fbd8e0f1bde0944bd27f8d649 (patch)
tree31ad9658fc80921b787ff1d990106731c0040278 /test/web/activity_pub/activity_pub_controller_test.exs
parentc74018e6a7a19a40a75c343ddadc199d9990597e (diff)
downloadpleroma-7803a85d2ced092fbd8e0f1bde0944bd27f8d649.tar.gz
pleroma-7803a85d2ced092fbd8e0f1bde0944bd27f8d649.zip
Add OpenAPI spec for StatusController
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 776ddc8d4..c432c90e3 100644
--- a/test/web/activity_pub/activity_pub_controller_test.exs
+++ b/test/web/activity_pub/activity_pub_controller_test.exs
@@ -341,7 +341,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do
test "cached purged after activity deletion", %{conn: conn} do
user = insert(:user)
- {:ok, activity} = CommonAPI.post(user, %{"status" => "cofe"})
+ {:ok, activity} = CommonAPI.post(user, %{status: "cofe"})
uuid = String.split(activity.data["id"], "/") |> List.last()