From 1f7a0bd016152c60a5e93ac072effdb25e76ffd4 Mon Sep 17 00:00:00 2001 From: Roy Wetherall Date: Thu, 4 Sep 2008 09:44:26 +0000 Subject: [PATCH] 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 --- .../java/org/alfresco/repo/action/ActionServiceImplTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/repo/action/ActionServiceImplTest.java b/source/java/org/alfresco/repo/action/ActionServiceImplTest.java index 63932ae8b8..87c18c962a 100644 --- a/source/java/org/alfresco/repo/action/ActionServiceImplTest.java +++ b/source/java/org/alfresco/repo/action/ActionServiceImplTest.java @@ -696,7 +696,7 @@ public class ActionServiceImplTest extends BaseAlfrescoSpringTest assertFalse(this.nodeService.hasAspect(this.nodeRef, ContentModel.ASPECT_VERSIONABLE)); 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); this.actionService.executeAction(action, this.nodeRef); @@ -716,7 +716,7 @@ public class ActionServiceImplTest extends BaseAlfrescoSpringTest public boolean executeTest() { return ( - finalNodeService.hasAspect(finalNodeRef, ContentModel.ASPECT_VERSIONABLE)); + finalNodeService.hasAspect(finalNodeRef, ContentModel.ASPECT_CLASSIFIABLE)); }; }); }