mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-7035: Add policies for holds
- fixed tests for deleteHold policies
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user