Enhance unit/integration tests to also test for mapped items in ITCommunityCollection

This commit is contained in:
Tim Donohue
2016-02-04 15:27:45 -06:00
parent 2139b09353
commit 094820c12d
3 changed files with 29 additions and 14 deletions

View File

@@ -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
}
/**