Ensure dspace.dir system property also specified for Integration Tests

This commit is contained in:
Tim Donohue
2015-10-15 14:35:34 -05:00
parent a1d3d98be1
commit 9bbf81a1e2
2 changed files with 3 additions and 2 deletions

View File

@@ -74,6 +74,7 @@ public class AbstractDSpaceTest
kernelImpl = DSpaceKernelInit.getKernel(null);
if (!kernelImpl.isRunning())
{
// NOTE: the "dspace.dir" system property MUST be specified via Maven
kernelImpl.start(System.getProperty("dspace.dir")); // init the kernel
}