projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08d64b9
)
test fix
author
Alex S
<alex.strizhakov@gmail.com>
Tue, 2 Apr 2019 09:26:40 +0000
(16:26 +0700)
committer
Alex S
<alex.strizhakov@gmail.com>
Tue, 2 Apr 2019 09:26:40 +0000
(16:26 +0700)
test/formatter_test.exs
patch
|
blob
|
history
diff --git
a/test/formatter_test.exs
b/test/formatter_test.exs
index 38430e1700337158ed85edc3e3c8394bc7d053b0..e74985c4ec9542439a46847162245ac5cf4a00c2 100644
(file)
--- a/
test/formatter_test.exs
+++ b/
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