Fix tests
authorRin Toshaka <rinpatch@sdf.org>
Tue, 18 Dec 2018 19:30:04 +0000 (20:30 +0100)
committerRin Toshaka <rinpatch@sdf.org>
Tue, 18 Dec 2018 19:30:04 +0000 (20:30 +0100)
test/formatter_test.exs

index cfa735795f55b6fac2f0947d0903462aa0305778..6cdfa4167a828334b242a10dcbeb680a70619a36 100644 (file)
@@ -27,7 +27,7 @@ defmodule Pleroma.FormatterTest do
       text = "Fact #3: pleroma does what mastodon't"
 
       expected_text =
-        "Fact <a data-tag=\"3\" href=\"http://localhost:4001/tag/3\">#3</a>: pleroma does what mastodon't"
+        "Fact <a data-tag='3' href='http://localhost:4001/tag/3' rel='tag'>#3</a>: pleroma does what mastodon't"
 
       tags = Formatter.parse_tags(text)