Handle new-style mastodon follow lists
[akkoma] / test / formatter_test.exs
index e67042a5f25f5a57c7d66b57d7e208e3a9a2cc00..e74985c4ec9542439a46847162245ac5cf4a00c2 100644 (file)
@@ -271,8 +271,9 @@ 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}]
+    assert Formatter.get_emoji(text) == [
+             {"moominmamma", "/finmoji/128px/moominmamma-128.png", "Finmoji"}
+           ]
   end
 
   test "it returns a nice empty result when no emojis are present" do