diff options
author | lain <lain@soykaf.club> | 2020-05-07 18:53:34 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-07 18:53:34 +0200 |
commit | ef55d240540ed9fbac76248c60bdb23f82c3f36e (patch) | |
tree | e65130d12a256026edb1a4768fc97e2271173248 /test/web/common_api/common_api_test.exs | |
parent | 7ac0cffb34567dd72877e13968a10d206f643ad8 (diff) | |
parent | bef08b85e5e1e25b65851938d6152bf0c170af03 (diff) | |
download | pleroma-ef55d240540ed9fbac76248c60bdb23f82c3f36e.tar.gz pleroma-ef55d240540ed9fbac76248c60bdb23f82c3f36e.zip |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/emojireactvalidator
Diffstat (limited to 'test/web/common_api/common_api_test.exs')
-rw-r--r-- | test/web/common_api/common_api_test.exs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs index e5f7e3ef8..2fd17a1b8 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -375,10 +375,11 @@ defmodule Pleroma.Web.CommonAPITest do {:ok, activity} = CommonAPI.post(other_user, %{"status" => "cofe"}) {:ok, reaction} = CommonAPI.react_with_emoji(activity.id, user, "👍") - {:ok, unreaction, _} = CommonAPI.unreact_with_emoji(activity.id, user, "👍") + {:ok, unreaction} = CommonAPI.unreact_with_emoji(activity.id, user, "👍") assert unreaction.data["type"] == "Undo" assert unreaction.data["object"] == reaction.data["id"] + assert unreaction.local end test "repeating a status" do |