mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
fix the createRecordFolderWithRelativePath() test, avoid duplicate record category name
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user