mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-6930 review updates
This commit is contained in:
@@ -590,7 +590,7 @@ public class HoldServiceImplUnitTest extends BaseUnitTest
|
|||||||
/**
|
/**
|
||||||
* test delete hold throws exception for failed read permission check for content
|
* test delete hold throws exception for failed read permission check for content
|
||||||
*/
|
*/
|
||||||
@Test (expected = AlfrescoRuntimeException.class)
|
@Test (expected = AccessDeniedException.class)
|
||||||
public void testDeleteHoldThrowsExceptionForActiveContentWithoutReadPermission()
|
public void testDeleteHoldThrowsExceptionForActiveContentWithoutReadPermission()
|
||||||
{
|
{
|
||||||
NodeRef heldContent = generateNodeRef(TYPE_CONTENT);
|
NodeRef heldContent = generateNodeRef(TYPE_CONTENT);
|
||||||
@@ -606,7 +606,7 @@ public class HoldServiceImplUnitTest extends BaseUnitTest
|
|||||||
/**
|
/**
|
||||||
* test delete hold throws exception for failed read permission check for records
|
* test delete hold throws exception for failed read permission check for records
|
||||||
*/
|
*/
|
||||||
@Test (expected = AlfrescoRuntimeException.class)
|
@Test (expected = AccessDeniedException.class)
|
||||||
public void testDeleteHoldThrowsExceptionForARecordWithoutReadPermission()
|
public void testDeleteHoldThrowsExceptionForARecordWithoutReadPermission()
|
||||||
{
|
{
|
||||||
NodeRef heldContent = generateNodeRef();
|
NodeRef heldContent = generateNodeRef();
|
||||||
@@ -621,7 +621,7 @@ public class HoldServiceImplUnitTest extends BaseUnitTest
|
|||||||
/**
|
/**
|
||||||
* test delete hold throws exception for failed file permission check for records
|
* test delete hold throws exception for failed file permission check for records
|
||||||
*/
|
*/
|
||||||
@Test (expected = AlfrescoRuntimeException.class)
|
@Test (expected = AccessDeniedException.class)
|
||||||
public void testDeleteHoldThrowsExceptionForARecordWithoutFilePermission()
|
public void testDeleteHoldThrowsExceptionForARecordWithoutFilePermission()
|
||||||
{
|
{
|
||||||
NodeRef heldContent = generateNodeRef();
|
NodeRef heldContent = generateNodeRef();
|
||||||
|
Reference in New Issue
Block a user