mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Publishing:
- Add latest gdata libs (1.45.0) with source code - cleaned the publishing context files out of the top-level application context - removed the notion of "content root" from publishing channels - added YouTube publishing channel with actions to publish and unpublish - added dummy channel types to ease UI development git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28575 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -93,7 +93,6 @@ public class PublishEventActionTest extends AbstractPublishingIntegrationTest
|
||||
@Autowired
|
||||
private PublishEventAction action;
|
||||
|
||||
private NodeRef root;
|
||||
private NodeRef channel;
|
||||
private String eventId;
|
||||
private ChannelType channelType;
|
||||
@@ -115,7 +114,7 @@ public class PublishEventActionTest extends AbstractPublishingIntegrationTest
|
||||
NodeRef publishedNode = channelHelper.mapSourceToEnvironment(source, channel);
|
||||
assertNotNull(publishedNode);
|
||||
assertTrue(nodeService.exists(publishedNode));
|
||||
assertEquals(root, nodeService.getPrimaryParent(publishedNode).getParentRef());
|
||||
assertEquals(channel, nodeService.getPrimaryParent(publishedNode).getParentRef());
|
||||
|
||||
// Check published node type and aspects
|
||||
assertEquals(TYPE_CONTENT, nodeService.getType(publishedNode));
|
||||
@@ -410,8 +409,6 @@ public class PublishEventActionTest extends AbstractPublishingIntegrationTest
|
||||
channelService.createChannel(siteId, channelTypeId, channelName, null);
|
||||
|
||||
this.channel = channelHelper.getChannelNodeForEnvironment(environment.getNodeRef(), channelName);
|
||||
this.root = channelHelper.getChannelRootNode(channel);
|
||||
assertNotNull(root);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user