aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-08-22 08:33:51 +0300
committerGravatar Vitaly Takmazov2021-08-22 08:33:51 +0300
commit1d395b762746948c4ba9897c0ff1e5be0aaaf6db (patch)
tree0958b1a6076ca323eef205dee5c12becec6d588a
parenteb93d08061e2220af8036aea00cf163204953059 (diff)
Fix hashtag tests
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java2
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\">&gt;_&lt;</a>"));
+ assertThat(output, equalTo("<a class=\"hashtag\" href=\"/ugnich/?tag=%3E_%3C\">&gt;_&lt;</a>"));
}
public DomElement fetchMeta(String url, String name) throws IOException {