diff options
author | Vitaly Takmazov | 2017-06-23 10:47:19 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-06-23 11:00:02 +0300 |
commit | 2b6d46ff24f3e1e851fff7ffb4901a2366d17ec9 (patch) | |
tree | 03b505b98d09ebf1b2322d035b01474e199526eb /juick-api/src | |
parent | 077153155caf8f810d252cac48da82517424be80 (diff) |
fix tests and cleanup
Diffstat (limited to 'juick-api/src')
-rw-r--r-- | juick-api/src/test/java/com/juick/api/tests/MessagesTests.java | 5 |
1 files changed, 5 insertions, 0 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 a892656b..a9705aee 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 @@ -3,6 +3,7 @@ package com.juick.api.tests; 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.configuration.ApiMvcConfiguration; import com.juick.api.configuration.ApiSecurityConfig; @@ -60,6 +61,10 @@ public class MessagesTests { TGBot tgBot() { return Mockito.mock(TGBot.class); } + @Bean + ApiServer apiServer() { + return Mockito.mock(ApiServer.class); + } } private MockMvc mockMvc; |