Potential build fix for suddenly failing async action tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2008-09-04 09:44:26 +00:00
parent 8a372b6203
commit 1f7a0bd016

View File

@@ -696,7 +696,7 @@ public class ActionServiceImplTest extends BaseAlfrescoSpringTest
assertFalse(this.nodeService.hasAspect(this.nodeRef, ContentModel.ASPECT_VERSIONABLE)); assertFalse(this.nodeService.hasAspect(this.nodeRef, ContentModel.ASPECT_VERSIONABLE));
Action action = this.actionService.createAction(AddFeaturesActionExecuter.NAME); Action action = this.actionService.createAction(AddFeaturesActionExecuter.NAME);
action.setParameterValue(AddFeaturesActionExecuter.PARAM_ASPECT_NAME, ContentModel.ASPECT_VERSIONABLE); action.setParameterValue(AddFeaturesActionExecuter.PARAM_ASPECT_NAME, ContentModel.ASPECT_CLASSIFIABLE);
action.setExecuteAsynchronously(true); action.setExecuteAsynchronously(true);
this.actionService.executeAction(action, this.nodeRef); this.actionService.executeAction(action, this.nodeRef);
@@ -716,7 +716,7 @@ public class ActionServiceImplTest extends BaseAlfrescoSpringTest
public boolean executeTest() public boolean executeTest()
{ {
return ( return (
finalNodeService.hasAspect(finalNodeRef, ContentModel.ASPECT_VERSIONABLE)); finalNodeService.hasAspect(finalNodeRef, ContentModel.ASPECT_CLASSIFIABLE));
}; };
}); });
} }