mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -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());
|
||||
|
||||
|
Reference in New Issue
Block a user