diff options
Diffstat (limited to 'juick-www/src/test/java/com/juick')
-rw-r--r-- | juick-www/src/test/java/com/juick/www/WebAppTests.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/juick-www/src/test/java/com/juick/www/WebAppTests.java b/juick-www/src/test/java/com/juick/www/WebAppTests.java index 0aba7e37..c2f6b0d9 100644 --- a/juick-www/src/test/java/com/juick/www/WebAppTests.java +++ b/juick-www/src/test/java/com/juick/www/WebAppTests.java @@ -127,7 +127,7 @@ public class WebAppTests { .thenReturn(Optional.of(user)); when(userService.getFullyUserByName(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)); @@ -158,7 +158,7 @@ public class WebAppTests { .thenReturn(Optional.of(user)); when(userService.getFullyUserByName(userName)) .thenReturn(user); - when(messagesService.getMyFeed(2, 0)) + when(messagesService.getMyFeed(2, 0, false)) .thenReturn(Collections.singletonList(2)); when(messagesService.getMessages(Collections.singletonList(2))) .thenReturn(Collections.singletonList(msg)); @@ -234,7 +234,7 @@ public class WebAppTests { .thenReturn(Optional.of(user)); when(userService.getFullyUserByName(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)); |