review comments

This commit is contained in:
cagache
2019-12-12 12:06:49 +02:00
parent 0484593d00
commit 3f6487571d

View File

@@ -53,6 +53,7 @@ import org.alfresco.rest.rm.community.model.unfiledcontainer.UnfiledContainerChi
import org.alfresco.rest.rm.community.requests.gscore.api.RecordFolderAPI; import org.alfresco.rest.rm.community.requests.gscore.api.RecordFolderAPI;
import org.alfresco.rest.rm.community.requests.gscore.api.UnfiledContainerAPI; import org.alfresco.rest.rm.community.requests.gscore.api.UnfiledContainerAPI;
import org.alfresco.rest.rm.community.requests.gscore.api.UnfiledRecordFolderAPI; import org.alfresco.rest.rm.community.requests.gscore.api.UnfiledRecordFolderAPI;
import org.alfresco.test.AlfrescoTest;
import org.alfresco.utility.report.Bug; import org.alfresco.utility.report.Bug;
import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeClass;
import org.testng.annotations.DataProvider; import org.testng.annotations.DataProvider;
@@ -93,7 +94,7 @@ public class FileRecordsTests extends BaseRMRestTest
closedFolderId = createCategoryFolderInFilePlan().getId(); closedFolderId = createCategoryFolderInFilePlan().getId();
closeFolder(closedFolderId); closeFolder(closedFolderId);
//create one unfiled record folder // create one unfiled record folder
unfiledRecordFolderId = createUnfiledContainerChild(UNFILED_RECORDS_CONTAINER_ALIAS, unfiledRecordFolderId = createUnfiledContainerChild(UNFILED_RECORDS_CONTAINER_ALIAS,
"Unfiled Folder " + getRandomAlphanumeric(), UNFILED_RECORD_FOLDER_TYPE).getId(); "Unfiled Folder " + getRandomAlphanumeric(), UNFILED_RECORD_FOLDER_TYPE).getId();
} }
@@ -156,6 +157,7 @@ public class FileRecordsTests extends BaseRMRestTest
* Then the record is filed * Then the record is filed
*/ */
@Test (dataProvider = "unfiledRecordsFromUnfiledRecordsContainer") @Test (dataProvider = "unfiledRecordsFromUnfiledRecordsContainer")
@AlfrescoTest (jira = "RM-7060")
public void fileRecordFromUnfiledContainerToOpenFolder(String unfiledRecordId) throws Exception public void fileRecordFromUnfiledContainerToOpenFolder(String unfiledRecordId) throws Exception
{ {
// file the record to the folder created // file the record to the folder created
@@ -180,6 +182,7 @@ public class FileRecordsTests extends BaseRMRestTest
* Then the record is filed * Then the record is filed
*/ */
@Test (dataProvider = "unfiledRecordsFromUnfiledRecordFolder") @Test (dataProvider = "unfiledRecordsFromUnfiledRecordFolder")
@AlfrescoTest (jira = "RM-7060")
public void fileRecordFromUnfiledRecordFolderToOpenFolder(String unfiledRecordId) throws Exception public void fileRecordFromUnfiledRecordFolderToOpenFolder(String unfiledRecordId) throws Exception
{ {
// file the record to the folder created // file the record to the folder created