Merged DEV/V4.0-BUGFIX into HEAD:

36275 ALF-14029: Updating single-valued association (no List<NodeRef>) fixed.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@36279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Frederik Heremans
2012-05-11 10:57:47 +00:00
parent 554deab8bd
commit 6755875f21

View File

@@ -718,6 +718,8 @@ public abstract class AbstractWorkflowRestApiTest extends BaseWebScriptTest
public void testWorkflowDefinitionsGet() throws Exception
{
personManager.setUser(USER1);
Response response = sendRequest(new GetRequest(URL_WORKFLOW_DEFINITIONS), 200);
assertEquals(Status.STATUS_OK, response.getStatus());
JSONObject json = new JSONObject(response.getContentAsString());
@@ -815,6 +817,8 @@ public abstract class AbstractWorkflowRestApiTest extends BaseWebScriptTest
public void testWorkflowDefinitionGet() throws Exception
{
personManager.setUser(USER1);
// Get the latest definition for the adhoc-workflow
WorkflowDefinition wDef = workflowService.getDefinitionByName(getAdhocWorkflowDefinitionName());