mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added removeProperty method to NodeService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5558 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -983,6 +983,11 @@ public abstract class BaseNodeServiceTest extends BaseSpringTest
|
||||
assertNotNull("Property value not set", valueCheck);
|
||||
assertEquals("Property value incorrect", "VALUE2", valueCheck);
|
||||
|
||||
// Remove a property
|
||||
nodeService.removeProperty(nodeRef, qnameProperty2);
|
||||
valueCheck = nodeService.getProperty(nodeRef, qnameProperty2);
|
||||
assertNull("Property not removed", valueCheck);
|
||||
|
||||
// set the property value to null
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user