diff options
author | lain <lain@soykaf.club> | 2020-05-13 09:34:30 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-13 09:34:30 +0000 |
commit | 156c8a508846bd6d4e55f666c4ecc6f0129ac5fc (patch) | |
tree | 971b1b30e5faec06b9971d1f08df20bc95ce8051 /test/bbs | |
parent | 1307d6ca3ca4ebe1ad49ef5c018fb28c2eb44fee (diff) | |
parent | 79ad12064dfd31f135763bae1523a94c493b6aed (diff) | |
download | pleroma-156c8a508846bd6d4e55f666c4ecc6f0129ac5fc.tar.gz |
Merge branch 'openapi/statuses' into 'develop'
Add OpenAPI spec for StatusController
See merge request pleroma/pleroma!2521
Diffstat (limited to 'test/bbs')
-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 = |