mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-4921 - fix upload file to record folder and failing tests
This commit is contained in:
@@ -241,10 +241,10 @@ public class FilePlanTests extends BaseRMRestTest
|
||||
assertStatusCode(OK);
|
||||
|
||||
// Verify the returned description field for the file plan component
|
||||
assertEquals(renamedFilePlan.getProperties().getDescription(), FILE_PLAN_DESCRIPTION);
|
||||
assertEquals(FILE_PLAN_DESCRIPTION, renamedFilePlan.getProperties().getDescription());
|
||||
|
||||
// Verify the returned title field for the file plan component
|
||||
assertEquals(renamedFilePlan.getProperties().getTitle(), FILE_PLAN_TITLE);
|
||||
assertEquals(FILE_PLAN_TITLE, renamedFilePlan.getProperties().getTitle());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -349,9 +349,6 @@ public class ElectronicRecordTests extends BaseRMRestTest
|
||||
UnfiledContainerChild unfiledContainerChildModel= UnfiledContainerChild.builder()
|
||||
.name(ELECTRONIC_RECORD_NAME)
|
||||
.nodeType(CONTENT_TYPE)
|
||||
.content(RecordContent.builder()
|
||||
.mimeType(TEXT_PLAIN_VALUE)
|
||||
.build())
|
||||
.relativePath(relativePath)
|
||||
.build();
|
||||
|
||||
|
Reference in New Issue
Block a user