aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-10-18 00:40:10 +0300
committerGravatar Vitaly Takmazov2021-10-18 02:10:01 +0300
commita2348e95bbacbc9a9961afcabb7bbe82f3c7fe9d (patch)
tree7c794eba8ce72e6533a818fcbfb3c8f87e36d2f8 /src/test/java
parent6c82f3dea2c56e8d62bd2f154e2e701f96454418 (diff)
Display error for social login
* CrossPostService gone
Diffstat (limited to 'src/test/java')
-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));