Minor fix to test cleanup

This commit is contained in:
Tim Donohue
2020-02-10 11:49:01 -06:00
parent e69a63c5a7
commit 4f9fb7d339

View File

@@ -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) {