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/web/activity_pub/transmogrifier/emoji_react_handling_test.exs | |
| parent | 1307d6ca3ca4ebe1ad49ef5c018fb28c2eb44fee (diff) | |
| parent | 79ad12064dfd31f135763bae1523a94c493b6aed (diff) | |
| download | pleroma-156c8a508846bd6d4e55f666c4ecc6f0129ac5fc.tar.gz pleroma-156c8a508846bd6d4e55f666c4ecc6f0129ac5fc.zip | |
Merge branch 'openapi/statuses' into 'develop'
Add OpenAPI spec for StatusController
See merge request pleroma/pleroma!2521
Diffstat (limited to 'test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs')
| -rw-r--r-- | test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs b/test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs index 6988e3e0a..0fb056b50 100644 --- a/test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs +++ b/test/web/activity_pub/transmogrifier/emoji_react_handling_test.exs @@ -15,7 +15,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.EmojiReactHandlingTest do test "it works for incoming emoji reactions" do user = insert(:user) other_user = insert(:user, local: false) - {:ok, activity} = CommonAPI.post(user, %{"status" => "hello"}) + {:ok, activity} = CommonAPI.post(user, %{status: "hello"}) data = File.read!("test/fixtures/emoji-reaction.json") @@ -40,7 +40,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier.EmojiReactHandlingTest do test "it reject invalid emoji reactions" do user = insert(:user) other_user = insert(:user, local: false) - {:ok, activity} = CommonAPI.post(user, %{"status" => "hello"}) + {:ok, activity} = CommonAPI.post(user, %{status: "hello"}) data = File.read!("test/fixtures/emoji-reaction-too-long.json") |
