浏览代码

test fix

tags/v1.1.4
Alex S 5 年前
父节点
当前提交
484162c187
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. +1
    -3
      test/formatter_test.exs

+ 1
- 3
test/formatter_test.exs 查看文件

@@ -271,10 +271,8 @@ defmodule Pleroma.FormatterTest 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



正在加载...
取消
保存