mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
MNT-20740 Updates from review
This commit is contained in:
@@ -137,8 +137,7 @@ public class ContentBinDuplicationUtilityUnitTest
|
|||||||
when(contentService.getReader(nodeRef, ContentModel.PROP_CONTENT).getContentUrl()).thenReturn(contentUrl);
|
when(contentService.getReader(nodeRef, ContentModel.PROP_CONTENT).getContentUrl()).thenReturn(contentUrl);
|
||||||
when(recordsManagementQueryDAO.getContentUrlEntityUnreferenced(contentUrl)).thenReturn(contentUrlEntity);
|
when(recordsManagementQueryDAO.getContentUrlEntityUnreferenced(contentUrl)).thenReturn(contentUrlEntity);
|
||||||
|
|
||||||
boolean hasReference = contentBinDuplicationUtility.hasAtLeastOneOtherReference(nodeRef);
|
assertFalse(contentBinDuplicationUtility.hasAtLeastOneOtherReference(nodeRef));
|
||||||
assertFalse(hasReference);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user