mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
More minor cleanup. Add another update().
This commit is contained in:
@@ -55,9 +55,10 @@ public class WorkspaceItemTest extends AbstractUnitTest
|
||||
Collection col = Collection.create(context);
|
||||
col.update();
|
||||
this.wi = WorkspaceItem.create(context, col, true);
|
||||
this.wi.update();
|
||||
//we need to commit the changes so we don't block the table for testing
|
||||
context.restoreAuthSystemState();
|
||||
context.commit();
|
||||
context.restoreAuthSystemState();
|
||||
}
|
||||
catch (IOException ex) {
|
||||
log.error("IO Error in init", ex);
|
||||
|
Reference in New Issue
Block a user