mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-4391: Test tidied up.
This commit is contained in:
@@ -100,7 +100,7 @@ public class UnfiledRecordsFolderTests extends BaseRestTest
|
|||||||
public void createRootUnfiledRecordsFolder() throws Exception
|
public void createRootUnfiledRecordsFolder() throws Exception
|
||||||
{
|
{
|
||||||
// Authenticate with admin user
|
// Authenticate with admin user
|
||||||
RestWrapper restWrapper = filePlanComponentAPI.usingRestWrapper().authenticateUser(dataUser.getAdminUser());
|
filePlanComponentAPI.usingRestWrapper().authenticateUser(dataUser.getAdminUser());
|
||||||
|
|
||||||
String folderName = "Folder " + getRandomAlphanumeric();
|
String folderName = "Folder " + getRandomAlphanumeric();
|
||||||
String folderTitle = folderName + " Title";
|
String folderTitle = folderName + " Title";
|
||||||
@@ -142,7 +142,7 @@ public class UnfiledRecordsFolderTests extends BaseRestTest
|
|||||||
)
|
)
|
||||||
public void onlyRecordFoldersCanBeCreatedAtUnfiledRecordsRoot(FilePlanComponentType componentType)
|
public void onlyRecordFoldersCanBeCreatedAtUnfiledRecordsRoot(FilePlanComponentType componentType)
|
||||||
{
|
{
|
||||||
RestWrapper restWrapper = filePlanComponentAPI.usingRestWrapper().authenticateUser(dataUser.getAdminUser());
|
filePlanComponentAPI.usingRestWrapper().authenticateUser(dataUser.getAdminUser());
|
||||||
|
|
||||||
String folderName = "Folder " + getRandomAlphanumeric();
|
String folderName = "Folder " + getRandomAlphanumeric();
|
||||||
String folderTitle = folderName + " Title";
|
String folderTitle = folderName + " Title";
|
||||||
|
Reference in New Issue
Block a user