mirror of
https://github.com/valitydev/fraudbusters-management.git
synced 2024-11-06 08:25:17 +00:00
fix checkstyle
This commit is contained in:
parent
0f7d3aa5a2
commit
64e5794fb9
@ -45,7 +45,8 @@ public class GreyRottenRuleCleanerServiceTest {
|
||||
|
||||
@Test
|
||||
void notExistRottenRecords() {
|
||||
when(wbListDao.getRottenRecords(any(LocalDateTime.class))).thenReturn(Collections.emptyList());
|
||||
when(wbListDao.getRottenRecords(any(LocalDateTime.class)))
|
||||
.thenReturn(Collections.emptyList());
|
||||
|
||||
greyRottenRuleCleanerService.clean();
|
||||
|
||||
@ -55,7 +56,8 @@ public class GreyRottenRuleCleanerServiceTest {
|
||||
|
||||
@Test
|
||||
void cleanRottenRecords() {
|
||||
when(wbListDao.getRottenRecords(any(LocalDateTime.class))).thenReturn(List.of(createWbListRecords(randomString())));
|
||||
when(wbListDao.getRottenRecords(any(LocalDateTime.class)))
|
||||
.thenReturn(List.of(createWbListRecords(randomString())));
|
||||
|
||||
greyRottenRuleCleanerService.clean();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user