Fixing tests

This commit is contained in:
Tom Desair
2017-03-23 15:32:10 +01:00
committed by Tim Donohue
parent a588d42f5a
commit d39d8134d0
2 changed files with 2 additions and 0 deletions

View File

@@ -103,6 +103,7 @@ public class CollectionTest extends AbstractDSpaceObjectTest
if(collection != null)
{
collectionService.delete(context, collection);
context.commit();
communityService.delete(context, communityService.find(context, owningCommunity.getID()));
}
context.restoreAuthSystemState();