mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
DS-3484: Refactoring builders and extended Browse by title test
This commit is contained in:
@@ -81,7 +81,7 @@ public class AbstractDSpaceTest
|
||||
if (!kernelImpl.isRunning())
|
||||
{
|
||||
// NOTE: the "dspace.dir" system property MUST be specified via Maven
|
||||
kernelImpl.start(System.getProperty("dspace.dir")); // init the kernel
|
||||
kernelImpl.start(getDspaceDir()); // init the kernel
|
||||
}
|
||||
|
||||
// Initialize mock Util class (allows Util.getSourceVersion() to work in Unit tests)
|
||||
@@ -111,4 +111,8 @@ public class AbstractDSpaceTest
|
||||
}
|
||||
kernelImpl = null;
|
||||
}
|
||||
public static String getDspaceDir(){
|
||||
return System.getProperty("dspace.dir");
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user