mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
update step information
This commit is contained in:
@@ -256,7 +256,7 @@ public class FileVersionAsRecordTests extends BaseRMRestTest
|
|||||||
dataContent.usingSite(publicSite).usingAdmin().usingResource(testFile).updateContent("This is the new content" +
|
dataContent.usingSite(publicSite).usingAdmin().usingResource(testFile).updateContent("This is the new content" +
|
||||||
"for " + testFile.getName());
|
"for " + testFile.getName());
|
||||||
|
|
||||||
STEP("Declare document version as record without providing a location parameter value using v1 actions api");
|
STEP("Declare document version as record with providing a location parameter value using v1 actions api");
|
||||||
getRestAPIFactory().getActionsAPI(userFillingPermission).declareAndFileVersionAsRecord(testFile,
|
getRestAPIFactory().getActionsAPI(userFillingPermission).declareAndFileVersionAsRecord(testFile,
|
||||||
Utility.buildPath(recordCategory.getName(), recordFolder.getName()));
|
Utility.buildPath(recordCategory.getName(), recordFolder.getName()));
|
||||||
|
|
||||||
@@ -279,7 +279,7 @@ public class FileVersionAsRecordTests extends BaseRMRestTest
|
|||||||
File sampleFile = Utility.getResourceTestDataFile("SampleTextFile_10kb.txt");
|
File sampleFile = Utility.getResourceTestDataFile("SampleTextFile_10kb.txt");
|
||||||
restClient.authenticateUser(getAdminUser()).withCoreAPI().usingParams("majorVersion=true").usingNode(testFile).updateNodeContent(sampleFile);
|
restClient.authenticateUser(getAdminUser()).withCoreAPI().usingParams("majorVersion=true").usingNode(testFile).updateNodeContent(sampleFile);
|
||||||
|
|
||||||
STEP("Declare document version as record without providing a location parameter value using v1 actions api");
|
STEP("Declare document version as record with providing a location parameter value using v1 actions api");
|
||||||
getRestAPIFactory().getActionsAPI(userFillingPermission).declareAndFileVersionAsRecord(testFile,
|
getRestAPIFactory().getActionsAPI(userFillingPermission).declareAndFileVersionAsRecord(testFile,
|
||||||
Utility.buildPath(recordCategory.getName(), recordFolder.getName()));
|
Utility.buildPath(recordCategory.getName(), recordFolder.getName()));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user