diff options
| author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-05-12 23:59:26 +0400 | 
|---|---|---|
| committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-05-13 00:25:21 +0400 | 
| commit | 7803a85d2ced092fbd8e0f1bde0944bd27f8d649 (patch) | |
| tree | 31ad9658fc80921b787ff1d990106731c0040278 /test/web/activity_pub/views | |
| parent | c74018e6a7a19a40a75c343ddadc199d9990597e (diff) | |
| download | pleroma-7803a85d2ced092fbd8e0f1bde0944bd27f8d649.tar.gz pleroma-7803a85d2ced092fbd8e0f1bde0944bd27f8d649.zip  | |
Add OpenAPI spec for StatusController
Diffstat (limited to 'test/web/activity_pub/views')
| -rw-r--r-- | test/web/activity_pub/views/object_view_test.exs | 2 | ||||
| -rw-r--r-- | test/web/activity_pub/views/user_view_test.exs | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/test/web/activity_pub/views/object_view_test.exs b/test/web/activity_pub/views/object_view_test.exs index 6c006206b..43f0617f0 100644 --- a/test/web/activity_pub/views/object_view_test.exs +++ b/test/web/activity_pub/views/object_view_test.exs @@ -44,7 +44,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectViewTest do        activity = insert(:note_activity, user: user)        {:ok, self_reply1} = -        CommonAPI.post(user, %{"status" => "self-reply 1", "in_reply_to_status_id" => activity.id}) +        CommonAPI.post(user, %{status: "self-reply 1", in_reply_to_status_id: activity.id})        replies_uris = [self_reply1.object.data["id"]]        result = ObjectView.render("object.json", %{object: refresh_record(activity)}) diff --git a/test/web/activity_pub/views/user_view_test.exs b/test/web/activity_pub/views/user_view_test.exs index 8d00893a5..20b0f223c 100644 --- a/test/web/activity_pub/views/user_view_test.exs +++ b/test/web/activity_pub/views/user_view_test.exs @@ -164,7 +164,7 @@ defmodule Pleroma.Web.ActivityPub.UserViewTest do      posts =        for i <- 0..25 do -        {:ok, activity} = CommonAPI.post(user, %{"status" => "post #{i}"}) +        {:ok, activity} = CommonAPI.post(user, %{status: "post #{i}"})          activity        end  | 
