diff options
author | Vitaly Takmazov | 2017-09-27 15:19:06 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-09-28 12:54:39 +0300 |
commit | 751b2a9b0fc523d17c9f7a410fadcc82eaaa1fb7 (patch) | |
tree | 1be25ccef6d38b4ec45084e389aed3045c1cdd70 /juick-api/src/test/java/com/juick | |
parent | e6e25791d6b9c8360247d92340b0dccda33c86ed (diff) |
api: Telegram posting
Diffstat (limited to 'juick-api/src/test/java/com/juick')
-rw-r--r-- | juick-api/src/test/java/com/juick/api/tests/MessagesTests.java | 6 |
1 files changed, 3 insertions, 3 deletions
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() { |