mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
minor updates
This commit is contained in:
@@ -289,7 +289,6 @@ public class ReadRecordTests extends BaseRMRestTest
|
|||||||
public void readRecordsFromFolders(String containerId) throws Exception
|
public void readRecordsFromFolders(String containerId) throws Exception
|
||||||
{
|
{
|
||||||
final int NUMBER_OF_RECORDS = 5;
|
final int NUMBER_OF_RECORDS = 5;
|
||||||
//String RELATIVE_PATH = "/" + CATEGORY_NAME + getRandomAlphanumeric();
|
|
||||||
|
|
||||||
// Create Electronic Records
|
// Create Electronic Records
|
||||||
ArrayList<FilePlanComponent> children = new ArrayList<FilePlanComponent>();
|
ArrayList<FilePlanComponent> children = new ArrayList<FilePlanComponent>();
|
||||||
@@ -316,7 +315,7 @@ public class ReadRecordTests extends BaseRMRestTest
|
|||||||
.nodeType(NON_ELECTRONIC_RECORD_TYPE.toString())
|
.nodeType(NON_ELECTRONIC_RECORD_TYPE.toString())
|
||||||
.build();
|
.build();
|
||||||
//create records
|
//create records
|
||||||
FilePlanComponent child= getRestAPIFactory().getFilePlanComponentsAPI().createFilePlanComponent(nonelectronicRecord, containerId);
|
FilePlanComponent child = getRestAPIFactory().getFilePlanComponentsAPI().createFilePlanComponent(nonelectronicRecord, containerId);
|
||||||
children.add(child);
|
children.add(child);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -372,7 +371,7 @@ public class ReadRecordTests extends BaseRMRestTest
|
|||||||
* Then I receive error
|
* Then I receive error
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void readChildrenOnRecordsString() throws Exception
|
public void readChildrenOnRecords() throws Exception
|
||||||
{
|
{
|
||||||
String RELATIVE_PATH = "CATEGORY" + getRandomAlphanumeric() + "/FOLDER";
|
String RELATIVE_PATH = "CATEGORY" + getRandomAlphanumeric() + "/FOLDER";
|
||||||
FilePlanComponent electRecord = FilePlanComponent.builder()
|
FilePlanComponent electRecord = FilePlanComponent.builder()
|
||||||
|
Reference in New Issue
Block a user