mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Publishing:
- abstracted asset id and url into a parent aspect (PublishingModel.ASPECT_ASSET) - Tidied Flickr service provider (coding standards) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -134,10 +134,10 @@ public class SlideShareTest extends BaseSpringTest
|
||||
actionService.executeAction(publishAction, node);
|
||||
Map<QName, Serializable> props = nodeService.getProperties(node);
|
||||
Assert.assertTrue(nodeService.hasAspect(node, SlideSharePublishingModel.ASPECT_ASSET));
|
||||
Assert.assertNotNull(props.get(SlideSharePublishingModel.PROP_ASSET_ID));
|
||||
Assert.assertNotNull(props.get(PublishingModel.PROP_ASSET_ID));
|
||||
// Assert.assertNotNull(props.get(SlideSharePublishingModel.PROP_ASSET_URL));
|
||||
|
||||
System.out.println("SlideShare id: " + props.get(SlideSharePublishingModel.PROP_ASSET_ID));
|
||||
System.out.println("SlideShare id: " + props.get(PublishingModel.PROP_ASSET_ID));
|
||||
|
||||
// Action unpublishAction = actionService.createAction(SlideShareUnpublishAction.NAME);
|
||||
// actionService.executeAction(unpublishAction, node);
|
||||
|
Reference in New Issue
Block a user