aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-24 03:28:02 +0300
committerGravatar Vitaly Takmazov2022-12-24 04:12:58 +0300
commit36ebeb217326c6bc23dedfde1e028ae2286afe02 (patch)
treedcd0156bcabd3b1e92dd7da48a386975a34b676f /src/test/java/com/juick
parent354988a7078a54bccf8afc8b49d3a178ae42789f (diff)
Cacheable ActivityPub profiles
Diffstat (limited to 'src/test/java/com/juick')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java
index afc874f4..290e07fe 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -1605,6 +1605,7 @@ public class ServerTests {
@Test
public void mentionsInPosts() {
jdbcTemplate.execute("DELETE FROM bl_users");
+ jdbcTemplate.execute("DELETE FROM followers");
int mid = messagesService.createMessage(ugnich.getUid(), "@freefd is dick", null, Set.of());
Message msg = messagesService.getMessage(mid).get();
assertThat(subscriptionService.getSubscribedUsers(ugnich.getUid(), msg).get(0), is(freefd));