mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 21:13:19 +00:00
Enhance unit/integration tests to also test for mapped items in ITCommunityCollection
This commit is contained in:
@@ -1480,7 +1480,9 @@ public class CommunityTest extends AbstractDSpaceObjectTest
|
||||
public void testCountItems() throws Exception
|
||||
{
|
||||
//0 by default
|
||||
assertTrue("testCountItems 0", communityService.countItems(context, c) == 0);
|
||||
assertTrue("testCountItems 0", itemService.countItems(context, c) == 0);
|
||||
|
||||
//NOTE: a more thorough test of item counting is in ITCommunityCollection integration test
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user