diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-05-27 13:03:34 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-05-27 13:03:34 +0000 |
commit | f569b67cdad881e1e3cf185d60775860ecd87262 (patch) | |
tree | 3073454bd3ae653b9e76c3c7a69e157ab6d1a5c3 /test/formatter_test.exs | |
parent | a8df7fc69041e8d7a6ed71621159d2f7487e1ce7 (diff) | |
download | pleroma-f569b67cdad881e1e3cf185d60775860ecd87262.tar.gz pleroma-f569b67cdad881e1e3cf185d60775860ecd87262.zip |
tests: update for html changes
Diffstat (limited to 'test/formatter_test.exs')
-rw-r--r-- | test/formatter_test.exs | 4 |
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>" |