From 494b7252e9bff87647456b50565bf7c00835c24a Mon Sep 17 00:00:00 2001 From: Roy Wetherall Date: Tue, 23 Feb 2010 02:36:53 +0000 Subject: [PATCH] Fix up unit test git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18777 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../alfresco/repo/web/scripts/rule/RuleServiceTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/java/org/alfresco/repo/web/scripts/rule/RuleServiceTest.java b/source/java/org/alfresco/repo/web/scripts/rule/RuleServiceTest.java index 96f494e461..61b17c00ee 100755 --- a/source/java/org/alfresco/repo/web/scripts/rule/RuleServiceTest.java +++ b/source/java/org/alfresco/repo/web/scripts/rule/RuleServiceTest.java @@ -53,7 +53,7 @@ import org.springframework.extensions.webscripts.TestWebScriptServer.Response; /** * Unit test to test rules Web Script API * - * @author unknown + * @author Roy Wetherall * */ public class RuleServiceTest extends BaseWebScriptTest @@ -374,7 +374,7 @@ public class RuleServiceTest extends BaseWebScriptTest } } - public void off_testGetActionConstraints() throws Exception + public void testGetActionConstraints() throws Exception { Response response = sendRequest(new GetRequest(URL_ACTIONCONSTRAINTS), 200); JSONObject result = new JSONObject(response.getContentAsString()); @@ -404,9 +404,9 @@ public class RuleServiceTest extends BaseWebScriptTest } } - public void off_testGetActionConstraint() throws Exception + public void testGetActionConstraint() throws Exception { - Response response = sendRequest(new GetRequest(formateActionConstraintUrl("compare-operations")), 200); + Response response = sendRequest(new GetRequest(formateActionConstraintUrl("ac-compare-operations")), 200); JSONObject result = new JSONObject(response.getContentAsString()); assertNotNull(result);