diff options
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() { |