aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/juick/server')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java
index faee1f53..3c8afa9e 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -199,8 +199,6 @@ public class ServerTests {
@Inject
private TelegramService telegramService;
@Inject
- private CrosspostService crosspostService;
- @Inject
private ServerManager serverManager;
@Inject
private KeystoreManager keystoreManager;
@@ -353,7 +351,7 @@ public class ServerTests {
telegramService.createTelegramUser(12345, "freefd");
String loginhash = jdbcTemplate.queryForObject("SELECT loginhash FROM telegram where tg_id=?", String.class,
12345);
- crosspostService.setTelegramUser(loginhash, freefd.getUid());
+ userService.setTelegramUser(loginhash, freefd.getUid());
List<Long> telegramSubscribers = telegramService.getTelegramIdentifiers(subscribers);
assertThat(subscribers.size(), equalTo(1));