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/bbs/handler_test.exs | |
parent | c74018e6a7a19a40a75c343ddadc199d9990597e (diff) | |
download | pleroma-7803a85d2ced092fbd8e0f1bde0944bd27f8d649.tar.gz pleroma-7803a85d2ced092fbd8e0f1bde0944bd27f8d649.zip |
Add OpenAPI spec for StatusController
Diffstat (limited to 'test/bbs/handler_test.exs')
-rw-r--r-- | test/bbs/handler_test.exs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/bbs/handler_test.exs b/test/bbs/handler_test.exs index 74982547b..eb716486e 100644 --- a/test/bbs/handler_test.exs +++ b/test/bbs/handler_test.exs @@ -21,8 +21,8 @@ defmodule Pleroma.BBS.HandlerTest do {:ok, user} = User.follow(user, followed) - {:ok, _first} = CommonAPI.post(user, %{"status" => "hey"}) - {:ok, _second} = CommonAPI.post(followed, %{"status" => "hello"}) + {:ok, _first} = CommonAPI.post(user, %{status: "hey"}) + {:ok, _second} = CommonAPI.post(followed, %{status: "hello"}) output = capture_io(fn -> @@ -62,7 +62,7 @@ defmodule Pleroma.BBS.HandlerTest do user = insert(:user) another_user = insert(:user) - {:ok, activity} = CommonAPI.post(another_user, %{"status" => "this is a test post"}) + {:ok, activity} = CommonAPI.post(another_user, %{status: "this is a test post"}) activity_object = Object.normalize(activity) output = |