mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
small fix
This commit is contained in:
@@ -95,7 +95,7 @@ public class CmisQueryTests extends BaseRMRestTest
|
||||
for (int i = 0; ++i <= 10; )
|
||||
{
|
||||
FileModel fileModel = new FileModel(String.format("%s.%s", "Doc" + i + SEARCH_TERM,
|
||||
FileType.TEXT_PLAIN.extention));
|
||||
FileType.TEXT_PLAIN.extension));
|
||||
dataContent.usingAdmin().usingSite(collaborationSite).createContent(fileModel);
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ public class CmisQueryTests extends BaseRMRestTest
|
||||
for (int i = 0; ++i <= 10; )
|
||||
{
|
||||
FileModel fileModel = new FileModel(String.format("%s.%s", "InPlace " + SEARCH_TERM + i,
|
||||
FileType.TEXT_PLAIN.extention));
|
||||
FileType.TEXT_PLAIN.extension));
|
||||
fileModel = dataContent.usingUser(nonRMUser).usingSite(collaborationSite).createContent(fileModel);
|
||||
getRestAPIFactory().getFilesAPI(nonRMUser).declareAsRecord(fileModel.getNodeRefWithoutVersion());
|
||||
}
|
||||
|
Reference in New Issue
Block a user