Skip to content

Commit

Permalink
deps(jobrunr): upgrade to 7.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrouillet committed Aug 1, 2024
1 parent 69f25e5 commit 6e5f897
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/test/java/fr/icdc/ebad/service/BatchServiceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public void removeBatchsWithoutEnvironnement() {
verify(logBatchRepository).deleteAllByBatchId(eq(1L));
verify(logBatchRepository).deleteAllByBatchId(eq(2L));

verify(jobScheduler, times(1)).delete(eq("10"));
verify(jobScheduler, times(1)).deleteRecurringJob(eq("10"));
verify(schedulingRepository, times(1)).delete(eq(scheduling));

verify(batchRepository).delete(batch1);
Expand Down Expand Up @@ -440,7 +440,7 @@ public void testDeleteBatchById() {
batchService.deleteBatch(1L);
verify(logBatchRepository).deleteAllByBatchId(1L);
verify(batchRepository).deleteById(1L);
verify(jobScheduler, times(1)).delete(eq("10"));
verify(jobScheduler, times(1)).deleteRecurringJob(eq("10"));
verify(schedulingRepository, times(1)).delete(eq(scheduling));

}
Expand All @@ -459,7 +459,7 @@ public void deleteBatch() {

verify(logBatchRepository).deleteAllByBatchId(1L);
verify(batchRepository).deleteById(1L);
verify(jobScheduler, times(1)).delete(eq("10"));
verify(jobScheduler, times(1)).deleteRecurringJob(eq("10"));
verify(schedulingRepository, times(1)).delete(eq(scheduling));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public void deleteEnvironnement() {
verify(batchRepository, times(1)).deleteAll(eq(environnement.getBatchs()));
verify(directoryRepository, times(1)).deleteByEnvironnement(eq(environnement));
verify(environnementRepository, times(1)).delete(eq(environnement));
verify(jobScheduler, times(1)).delete(eq("10"));
verify(jobScheduler, times(1)).deleteRecurringJob(eq("10"));
verify(schedulingRepository, times(1)).delete(eq(scheduling));
}

Expand Down Expand Up @@ -204,7 +204,7 @@ public void deleteEnvironnement2() {
verify(batchRepository, times(0)).deleteAll(eq(environnement.getBatchs()));
verify(directoryRepository, times(1)).deleteByEnvironnement(eq(environnement));
verify(environnementRepository, times(1)).delete(eq(environnement));
verify(jobScheduler, times(1)).delete(eq("10"));
verify(jobScheduler, times(1)).deleteRecurringJob(eq("10"));
verify(schedulingRepository, times(1)).delete(eq(scheduling));

}
Expand Down

0 comments on commit 6e5f897

Please sign in to comment.