test fix
This commit is contained in:
parent
08d64b977f
commit
484162c187
1 changed files with 1 additions and 3 deletions
|
@ -271,10 +271,8 @@ test "it does not add XSS emoji" do
|
|||
test "it returns the emoji used in the text" do
|
||||
text = "I love :moominmamma:"
|
||||
|
||||
tag = Keyword.get(Application.get_env(:pleroma, :emoji), :finmoji_tag)
|
||||
|
||||
assert Formatter.get_emoji(text) == [
|
||||
{"moominmamma", "/finmoji/128px/moominmamma-128.png", tag}
|
||||
{"moominmamma", "/finmoji/128px/moominmamma-128.png", "Finmoji"}
|
||||
]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue