Fix unit test

This commit is contained in:
Eduard Heimbuch
2021-04-21 10:39:20 +02:00
parent f154ba7d83
commit 5603aef54d

View File

@@ -180,7 +180,7 @@ class HealthCheckerTest {
@BeforeEach
void setUpRepository() {
when(repositoryServiceFactory.create(repository)).thenReturn(repositoryService);
lenient().when(repositoryServiceFactory.create(repository)).thenReturn(repositoryService);
lenient().when(repositoryService.getFullCheckCommand()).thenReturn(fullHealthCheckCommand);
}