More minor cleanup. Add another update().

This commit is contained in:
Tim Donohue
2013-10-22 16:00:33 -05:00
parent 416b8b53f2
commit 78f8e973b5

View File

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