diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/files/DeclareDocumentAsRecordTests.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/files/DeclareDocumentAsRecordTests.java index 07bf5eef62..6f6dfcb4f1 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/files/DeclareDocumentAsRecordTests.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/files/DeclareDocumentAsRecordTests.java @@ -91,9 +91,9 @@ public class DeclareDocumentAsRecordTests extends BaseRMRestTest /** *
* Given a document that is not a record - * And I have write permissions on the record + * And I have write permissions on the document * When I declare the document as a record - * Then it successfully moved into the unfiled record container + * Then it is successfully moved into the unfiled record container * And it is renamed to reflect the record identifier * And it is now a record * And it remains a secondary child of the starting location where I can still view it @@ -164,7 +164,7 @@ public class DeclareDocumentAsRecordTests extends BaseRMRestTest /** ** Given a document that is not a record - * And I have read permissions on the record + * And I have read permissions on the document * When I declare the document as a record * Then I get a permission denied exception *