test/pleroma/web/common_api_test.exs: Strip : around emoji key-name
This commit is contained in:
parent
6d6bef64bf
commit
5ef4659b37
|
@ -539,8 +539,8 @@ test "it copies emoji from the subject of the parent post" 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
|
||||
|
|
Loading…
Reference in New Issue