mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
59028: Merged V4.2-BUG-FIX (4.2.1) to HEAD-BUG-FIX (Cloud/4.3) 58961: MNT-10059: Resurrect PublishingRestApiTest and PublishWebContentJbpmTest. In PublishingTestHelper.mockChannelType(String) was added: when(channelType.getTitle()).thenReturn(channelTypeId). git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -170,6 +170,7 @@ public class PublishingTestHelper
|
||||
{
|
||||
channelType = mock(AbstractChannelType.class);
|
||||
when(channelType.getId()).thenReturn(channelTypeId);
|
||||
when(channelType.getTitle()).thenReturn(channelTypeId);
|
||||
channelService.register(channelType);
|
||||
}
|
||||
when(channelType.getChannelNodeType()).thenReturn(TYPE_DELIVERY_CHANNEL);
|
||||
|
Reference in New Issue
Block a user