diff options
author | Vitaly Takmazov | 2021-08-22 08:33:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2021-08-22 08:33:51 +0300 |
commit | 1d395b762746948c4ba9897c0ff1e5be0aaaf6db (patch) | |
tree | 0958b1a6076ca323eef205dee5c12becec6d588a | |
parent | eb93d08061e2220af8036aea00cf163204953059 (diff) |
Fix hashtag tests
-rw-r--r-- | src/test/java/com/juick/server/tests/ServerTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java index bcdb4af3..2f60f5be 100644 --- a/src/test/java/com/juick/server/tests/ServerTests.java +++ b/src/test/java/com/juick/server/tests/ServerTests.java @@ -1562,7 +1562,7 @@ public class ServerTests { template.evaluate(writer, Collections.singletonMap("tagsList", Collections.singletonList(new Tag(">_<").getName()))); String output = writer.toString().trim(); - assertThat(output, equalTo("<a href=\"/ugnich/?tag=%3E_%3C\">>_<</a>")); + assertThat(output, equalTo("<a class=\"hashtag\" href=\"/ugnich/?tag=%3E_%3C\">>_<</a>")); } public DomElement fetchMeta(String url, String name) throws IOException { |