RM-7035: Add policies for holds

- fixed tests for deleteHold policies
This commit is contained in:
Ramona Popa
2019-10-29 16:02:40 +02:00
parent 2d858fd6ec
commit fcd53d3143
5 changed files with 69 additions and 54 deletions

View File

@@ -314,7 +314,7 @@ public class HoldServiceImplUnitTest extends BaseUnitTest
{
// mocks for policies
doNothing().when(holdService).invokeBeforeDeleteHold(any());
doNothing().when(holdService).invokeOnDeleteHold(any());
doNothing().when(holdService).invokeOnDeleteHold(any(), any());
// delete hold
holdService.deleteHold(hold);