Skip to content

Commit

Permalink
Merge pull request #4423 from Kathrin-Huber/fix_test
Browse files Browse the repository at this point in the history
fix test fpr saveOrUpdate
  • Loading branch information
Kathrin-Huber authored May 20, 2021
2 parents 4d359f0 + edd56c3 commit 0651fca
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,7 @@ public void shouldCloseForProcessWithSkippedTask() throws DataException, DAOExce
assertEquals("Task '" + thirdTaskToSkip.getTitle() + "' was not skipped!", TaskStatus.DONE,
thirdTaskToSkip.getProcessingStatus());

taskService.remove(taskToClose);
taskService.remove(skippedTask);
taskService.remove(secondSkippedTask);
taskService.remove(taskToOpen);
taskService.remove(secondTaskToOpen);
taskService.remove(thirdTaskToSkip);
process.getTasks().clear();
ServiceManager.getProcessService().remove(process);
}

Expand Down

0 comments on commit 0651fca

Please sign in to comment.