test/pleroma/web/common_api_test.exs: Strip : around emoji key-name
This commit is contained in:
parent
6d6bef64bf
commit
5ef4659b37
1 changed files with 2 additions and 2 deletions
|
@ -539,8 +539,8 @@ defmodule Pleroma.Web.CommonAPITest do
|
||||||
spoiler_text: ":joker_smile:"
|
spoiler_text: ":joker_smile:"
|
||||||
})
|
})
|
||||||
|
|
||||||
assert Object.normalize(reply_activity).data["emoji"][":joker_smile:"]
|
assert Object.normalize(reply_activity).data["emoji"]["joker_smile"]
|
||||||
refute Object.normalize(reply_activity).data["emoji"][":joker_disapprove:"]
|
refute Object.normalize(reply_activity).data["emoji"]["joker_disapprove"]
|
||||||
end
|
end
|
||||||
|
|
||||||
test "deactivated users can't post" do
|
test "deactivated users can't post" do
|
||||||
|
|
Loading…
Reference in a new issue