minor updates

This commit is contained in:
Rodica Sutu
2017-01-04 08:40:49 +02:00
parent 15011542e9
commit f2f438a570

View File

@@ -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()