fix the createRecordFolderWithRelativePath() test, avoid duplicate record category name

This commit is contained in:
Rodica Sutu
2017-05-05 15:15:06 +03:00
parent 05b43fb770
commit 066add969c

View File

@@ -488,7 +488,7 @@ public class RecordCategoryTests extends BaseRMRestTest
{ {
// The record category to be created // The record category to be created
RecordCategory recordCategoryModel = RecordCategory.builder() RecordCategory recordCategoryModel = RecordCategory.builder()
.name(RECORD_CATEGORY_NAME) .name(RECORD_CATEGORY_NAME + getRandomAlphanumeric())
.nodeType(RECORD_CATEGORY_TYPE) .nodeType(RECORD_CATEGORY_TYPE)
.build(); .build();
FilePlanAPI filePlansAPI = getRestAPIFactory().getFilePlansAPI(); FilePlanAPI filePlansAPI = getRestAPIFactory().getFilePlansAPI();
@@ -593,7 +593,7 @@ public class RecordCategoryTests extends BaseRMRestTest
{ {
// The record category to be created // The record category to be created
RecordCategory recordCategoryModel = RecordCategory.builder() RecordCategory recordCategoryModel = RecordCategory.builder()
.name(RECORD_CATEGORY_NAME+getRandomAlphanumeric()) .name(RECORD_CATEGORY_NAME + getRandomAlphanumeric())
.nodeType(RECORD_CATEGORY_TYPE) .nodeType(RECORD_CATEGORY_TYPE)
.build(); .build();
FilePlanAPI filePlansAPI = getRestAPIFactory().getFilePlansAPI(); FilePlanAPI filePlansAPI = getRestAPIFactory().getFilePlansAPI();