mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed bug in test code that was causing test failure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19104 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -473,13 +473,13 @@ public class RenditionServiceIntegrationTest extends BaseAlfrescoSpringTest
|
|||||||
// The rendition node should have no other
|
// The rendition node should have no other
|
||||||
// parent-associations - in this case
|
// parent-associations - in this case
|
||||||
assertEquals("Wrong value for rendition node parent count.", 1, nodeService
|
assertEquals("Wrong value for rendition node parent count.", 1, nodeService
|
||||||
.getParentAssocs(renditionNode).size());
|
.getParentAssocs(renditionAssoc.getChildRef()).size());
|
||||||
|
|
||||||
// Now the source content node should have the
|
// Now the source content node should have the
|
||||||
// renditioned aspect
|
// renditioned aspect
|
||||||
assertTrue("Source node is missing renditioned aspect.", nodeService.hasAspect(
|
assertTrue("Source node is missing renditioned aspect.", nodeService.hasAspect(
|
||||||
nodeWithDocContent, RenditionModel.ASPECT_RENDITIONED));
|
nodeWithDocContent, RenditionModel.ASPECT_RENDITIONED));
|
||||||
return renditionNode;
|
return renditionAssoc.getChildRef();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user