From: Haelwenn (lanodan) Monnier Date: Mon, 5 Apr 2021 16:57:14 +0000 (+0200) Subject: test/pleroma/web/common_api_test.exs: Strip : around emoji key-name X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5ef4659b373ae1106090952ff3e963b419fa1d72;p=akkoma test/pleroma/web/common_api_test.exs: Strip : around emoji key-name --- diff --git a/test/pleroma/web/common_api_test.exs b/test/pleroma/web/common_api_test.exs index 6619f8fc8..86c12f0b2 100644 --- a/test/pleroma/web/common_api_test.exs +++ b/test/pleroma/web/common_api_test.exs @@ -539,8 +539,8 @@ defmodule Pleroma.Web.CommonAPITest do spoiler_text: ":joker_smile:" }) - assert Object.normalize(reply_activity).data["emoji"][":joker_smile:"] - refute Object.normalize(reply_activity).data["emoji"][":joker_disapprove:"] + assert Object.normalize(reply_activity).data["emoji"]["joker_smile"] + refute Object.normalize(reply_activity).data["emoji"]["joker_disapprove"] end test "deactivated users can't post" do