mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
Minor fix to test cleanup
This commit is contained in:
@@ -88,8 +88,10 @@ public class ThumbnailTest extends AbstractUnitTest {
|
||||
@Override
|
||||
public void destroy() {
|
||||
try {
|
||||
context.turnOffAuthorisationSystem();
|
||||
bitstreamService.delete(context, thumb);
|
||||
bitstreamService.delete(context, orig);
|
||||
context.restoreAuthSystemState();
|
||||
thumb = null;
|
||||
orig = null;
|
||||
} catch (Exception e) {
|
||||
|
Reference in New Issue
Block a user