diff options
author | lain <lain@soykaf.club> | 2020-05-08 10:41:41 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-08 10:41:41 +0000 |
commit | fbcc53760e6fcd393513c05a5bd7a4a6a6f3b731 (patch) | |
tree | 86b0bb94dcb176c1708d174a339223fb0fe34ec5 /test/web/common_api/common_api_test.exs | |
parent | 0cf43391f272b2bb756b564e12bbcd3efda6a4bd (diff) | |
parent | 7e9aaa0d0221311d831161d977c8b0e2a55b3439 (diff) | |
download | pleroma-fbcc53760e6fcd393513c05a5bd7a4a6a6f3b731.tar.gz pleroma-fbcc53760e6fcd393513c05a5bd7a4a6a6f3b731.zip |
Merge branch 'feature/emojireactvalidator' into 'develop'
Move EmojiReacts to the Pipeline.
See merge request pleroma/pleroma!2473
Diffstat (limited to 'test/web/common_api/common_api_test.exs')
-rw-r--r-- | test/web/common_api/common_api_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs index 9a37d1887..2fd17a1b8 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -358,7 +358,7 @@ defmodule Pleroma.Web.CommonAPITest do {:ok, activity} = CommonAPI.post(other_user, %{"status" => "cofe"}) - {:ok, reaction, _} = CommonAPI.react_with_emoji(activity.id, user, "👍") + {:ok, reaction} = CommonAPI.react_with_emoji(activity.id, user, "👍") assert reaction.data["actor"] == user.ap_id assert reaction.data["content"] == "👍" @@ -373,7 +373,7 @@ defmodule Pleroma.Web.CommonAPITest do other_user = insert(:user) {:ok, activity} = CommonAPI.post(other_user, %{"status" => "cofe"}) - {:ok, reaction, _} = CommonAPI.react_with_emoji(activity.id, user, "👍") + {:ok, reaction} = CommonAPI.react_with_emoji(activity.id, user, "👍") {:ok, unreaction} = CommonAPI.unreact_with_emoji(activity.id, user, "👍") |