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 c450aafb00
commit eef60c3711

View File

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