fix failing mock test

This commit is contained in:
Grahame Grieve 2023-06-27 06:22:24 +10:00
parent fac2cc77ab
commit 5a55f74a91
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ public class ValidatorCliTests {
int watchSettleTime = 100; int watchSettleTime = 100;
cli.readParamsAndExecuteTask(cliContext, args); cli.readParamsAndExecuteTask(cliContext, args);
Mockito.verify(validationService).determineVersion(same(cliContext)); Mockito.verify(validationService).determineVersion(same(cliContext));
Mockito.verify(validationService).validateSources(same(cliContext), same(validationEngine), same(watchMode), same(watchScanDelay), same(watchSettleTime)); Mockito.verify(validationService).validateSources(same(cliContext), same(validationEngine), eq(watchMode), eq(watchScanDelay), eq(watchSettleTime));
} }
@Test @Test