From 751b2a9b0fc523d17c9f7a410fadcc82eaaa1fb7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 27 Sep 2017 15:19:06 +0300 Subject: api: Telegram posting --- juick-api/src/test/java/com/juick/api/tests/MessagesTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'juick-api/src/test/java/com/juick/api/tests') diff --git a/juick-api/src/test/java/com/juick/api/tests/MessagesTests.java b/juick-api/src/test/java/com/juick/api/tests/MessagesTests.java index b30cdece..075ea6e3 100644 --- a/juick-api/src/test/java/com/juick/api/tests/MessagesTests.java +++ b/juick-api/src/test/java/com/juick/api/tests/MessagesTests.java @@ -21,7 +21,7 @@ import com.juick.Message; import com.juick.Tag; import com.juick.User; import com.juick.api.ApiServer; -import com.juick.api.TGBot; +import com.juick.api.TelegramBotManager; import com.juick.server.configuration.BaseWebConfiguration; import com.juick.api.configuration.ApiSecurityConfig; import com.juick.api.configuration.MessengerConfiguration; @@ -80,8 +80,8 @@ public class MessagesTests { return Mockito.mock(WebSocketConnectionManager.class); } @Bean - TGBot tgBot() { - return Mockito.mock(TGBot.class); + TelegramBotManager tgBot() { + return Mockito.mock(TelegramBotManager.class); } @Bean ApiServer apiServer() { -- cgit v1.2.3