mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +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);
|
Collection col = Collection.create(context);
|
||||||
col.update();
|
col.update();
|
||||||
this.wi = WorkspaceItem.create(context, col, true);
|
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
|
//we need to commit the changes so we don't block the table for testing
|
||||||
context.restoreAuthSystemState();
|
|
||||||
context.commit();
|
context.commit();
|
||||||
|
context.restoreAuthSystemState();
|
||||||
}
|
}
|
||||||
catch (IOException ex) {
|
catch (IOException ex) {
|
||||||
log.error("IO Error in init", ex);
|
log.error("IO Error in init", ex);
|
||||||
|
Reference in New Issue
Block a user