mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Fix up unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18777 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -53,7 +53,7 @@ import org.springframework.extensions.webscripts.TestWebScriptServer.Response;
|
|||||||
/**
|
/**
|
||||||
* Unit test to test rules Web Script API
|
* Unit test to test rules Web Script API
|
||||||
*
|
*
|
||||||
* @author unknown
|
* @author Roy Wetherall
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class RuleServiceTest extends BaseWebScriptTest
|
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);
|
Response response = sendRequest(new GetRequest(URL_ACTIONCONSTRAINTS), 200);
|
||||||
JSONObject result = new JSONObject(response.getContentAsString());
|
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());
|
JSONObject result = new JSONObject(response.getContentAsString());
|
||||||
|
|
||||||
assertNotNull(result);
|
assertNotNull(result);
|
||||||
|
Reference in New Issue
Block a user