diff options
Diffstat (limited to 'juick-api/src/test/java/com')
-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 be21c3fc..e8045cc2 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 @@ -152,7 +152,7 @@ public class MessagesTests { Message msg = MockUtils.mockMessage(1, ugnich, msgText); - when(messagesService.getMyFeed(1, 0)) + when(messagesService.getMyFeed(1, 0, true)) .thenReturn(Collections.singletonList(1)); when(messagesService.getMessages(Collections.singletonList(1))) .thenReturn(Collections.singletonList(msg)); @@ -183,7 +183,7 @@ public class MessagesTests { .thenReturn(Optional.of(user)); when(userService.getFullyUserByName(ugnichName)) .thenReturn(user); - when(messagesService.getMyFeed(1, 0)) + when(messagesService.getMyFeed(1, 0, true)) .thenReturn(Collections.singletonList(1)); when(messagesService.getMessages(Collections.singletonList(1))) .thenReturn(Collections.singletonList(msg)); @@ -213,7 +213,7 @@ public class MessagesTests { .thenReturn(user); when(userService.getUserByName(ugnichName)) .thenReturn(user); - when(messagesService.getMyFeed(1, 0)) + when(messagesService.getMyFeed(1, 0, false)) .thenReturn(Collections.singletonList(1)); when(messagesService.getMessages(Collections.singletonList(1))) .thenReturn(Collections.singletonList(msg)); |