fix checkstyle

This commit is contained in:
ggmaleva 2021-06-03 14:24:34 +03:00
parent 0f7d3aa5a2
commit 64e5794fb9
No known key found for this signature in database
GPG Key ID: 0E412B78565B108F

View File

@ -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();