mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-30 18:15:39 +00:00
Fixed unit test to account for auto-addition of aspects
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14333 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
parent
ff815e8e2f
commit
80c131be6e
@ -236,6 +236,8 @@ public class IntegrityTest extends TestCase
|
||||
{
|
||||
NodeRef nodeRef = createNode("abc", TEST_TYPE_WITH_PROPERTIES, allProperties);
|
||||
|
||||
// Remove the automatically-added aspect
|
||||
nodeService.removeAspect(nodeRef, TEST_ASPECT_WITH_PROPERTIES);
|
||||
// remove all the properties
|
||||
PropertyMap properties = new PropertyMap();
|
||||
nodeService.setProperties(nodeRef, properties);
|
||||
|
Loading…
x
Reference in New Issue
Block a user