summaryrefslogtreecommitdiff
path: root/test/formatter_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-05-28 12:39:49 +0200
committerlain <lain@soykaf.club>2018-05-28 12:39:49 +0200
commit461f201caae68cd781240fa40f8b6502ba7e57cb (patch)
tree344698862dbb47b2021a30dcce16366bd9788e89 /test/formatter_test.exs
parent3ece4a3ebc05ecc00be6f0a8247d8ca819dc8624 (diff)
parent8216d5e40e31970b450524d39b634a84f6ec415c (diff)
downloadpleroma-461f201caae68cd781240fa40f8b6502ba7e57cb.tar.gz
pleroma-461f201caae68cd781240fa40f8b6502ba7e57cb.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
Diffstat (limited to 'test/formatter_test.exs')
-rw-r--r--test/formatter_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/formatter_test.exs b/test/formatter_test.exs
index e89b36663..c2b3d4ac0 100644
--- a/test/formatter_test.exs
+++ b/test/formatter_test.exs
@@ -109,9 +109,9 @@ defmodule Pleroma.FormatterTest do
Enum.each(subs, fn {uuid, _} -> assert String.contains?(text, uuid) end)
expected_text =
- "<span><a href='#{gsimg.ap_id}'>@<span>gsimg</span></a></span> According to <span><a href='#{
+ "<span><a class='mention' href='#{gsimg.ap_id}'>@<span>gsimg</span></a></span> According to <span><a class='mention' href='#{
"https://archeme/@archaeme"
- }'>@<span>archaeme</span></a></span>, that is @daggsy. Also hello <span><a href='#{
+ }'>@<span>archaeme</span></a></span>, that is @daggsy. Also hello <span><a class='mention' href='#{
archaeme_remote.ap_id
}'>@<span>archaeme</span></a></span>"