Handle new-style mastodon follow lists
[akkoma] / test / formatter_test.exs
index fcdf931b7268443d1ef80e22e0aca626a6724191..e74985c4ec9542439a46847162245ac5cf4a00c2 100644 (file)
@@ -271,7 +271,9 @@ defmodule Pleroma.FormatterTest do
   test "it returns the emoji used in the text" do
     text = "I love :moominmamma:"
 
-    assert Formatter.get_emoji(text) == [{"moominmamma", "/finmoji/128px/moominmamma-128.png"}]
+    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