Allow rootdir to be used as a argument

This commit is contained in:
Syer10
2021-04-03 18:35:30 -04:00
parent e043cb5690
commit c11887fada
2 changed files with 7 additions and 5 deletions
@@ -41,7 +41,8 @@ class TestExtensions {
@BeforeAll
fun setup() {
val dataRoot = File("tmp/TestDesk").absolutePath
applicationSetup(dataRoot)
System.setProperty("ir.armor.tachidesk.rootDir", dataRoot)
applicationSetup()
setLoggingEnabled(false)
runBlocking {
extensions = getExtensionList()