mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix/rm 6941 retention action on frozen nodes (#640)
* RM-6941 Changes for retention action on frozen nodes [ags]
* RM-6941 Changes for retention action on frozen nodes [ags]
* RM-6941 Changes for retention action on frozen nodes [ags]
* RM-6941 Changes for retention action on frozen nodes [ags]
* RM-6941 Changes for retention action on frozen nodes [ags]
* RM-6941 Changes for retention action on frozen nodes [ags]
* RM-6941 Changes for retention action on frozen nodes [ags]
* RM-6941 Changes for retention action on frozen nodes [ags]
* RM-6941 added slf4j and junit test [ags]
* RM-6941 added slf4j and junit test [ags]
* RM-6941 added slf4j and junit test [ags]
* RM-6941 added slf4j and junit test [ags]
* RM-6941 added slf4j and test [ags]
* RM-6941 added slf4j and test [ags]
* RM-6941 added slf4j and test [ags]
* RM-6941 added slf4j and test [ags]
* RM-6941 added slf4j and test [ags]
* RM-6941 code change for test case [ags]
* RM-6941 code change for test case [ags]
* RM-6941 code change for test case [ags]
* RM-6941 change lombok dependency scope to compile [ags]
* Revert "RM-6941 change lombok dependency scope to compile [ags]"
This reverts commit 4cee68e8
* RM-6941 change lombok dependency scope to compile [ags]
* RM-6941 revert change lombok dependency scope to compile [ags]
* RM-6941 revert change lombok dependency scope to compile [ags]
This commit is contained in:
@@ -67,7 +67,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.testng.annotations.AfterClass;
|
||||
import org.testng.annotations.BeforeClass;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import static org.apache.commons.httpclient.HttpStatus.SC_INTERNAL_SERVER_ERROR;
|
||||
/**
|
||||
* API tests to check actions on frozen content
|
||||
*
|
||||
@@ -309,11 +309,11 @@ public class PreventActionsOnFrozenContentTests extends BaseRMRestTest
|
||||
|
||||
STEP("Execute the retain action");
|
||||
rmRolesAndActionsAPI.executeAction(getAdminUser().getUsername(), getAdminUser().getPassword(), record.getName(),
|
||||
RM_ACTIONS.END_RETENTION);
|
||||
RM_ACTIONS.END_RETENTION, null, SC_INTERNAL_SERVER_ERROR);
|
||||
|
||||
STEP("Check the record search disposition properties");
|
||||
Record recordUpdated = getRestAPIFactory().getRecordsAPI().getRecord(record.getId());
|
||||
assertTrue(recordUpdated.getProperties().getRecordSearchDispositionActionName().contains(RM_ACTIONS.DESTROY.getAction()));
|
||||
assertTrue(recordUpdated.getProperties().getRecordSearchDispositionActionName().contains(RM_ACTIONS.END_RETENTION.getAction()));
|
||||
assertTrue(recordUpdated.getProperties().getRecordSearchDispositionPeriod().contains("immediately"));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user