Skip to content

Commit

Permalink
fixup! Watchfolders start scans just after startScans call #175
Browse files Browse the repository at this point in the history
  • Loading branch information
hdsdi3g committed Aug 29, 2024
1 parent 98071b5 commit de95558
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import static org.mockito.Mockito.atLeast;
import static org.mockito.Mockito.atMost;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
import static org.mockito.internal.verification.VerificationModeFactory.times;

import java.util.ArrayList;
Expand Down Expand Up @@ -76,9 +75,6 @@ void init() throws Exception {

@AfterEach
void ends() {
verify(sEvent, atLeast(0)).onEnd(any(), any());
verifyNoMoreInteractions(sEvent, jobKitWatchdog);

for (var pos = 0; pos < runnedTasks.size(); pos++) {
assertEquals(pos, runnedTasks.get(pos));
}
Expand Down

0 comments on commit de95558

Please sign in to comment.