mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-01 18:04:35 -05:00
Allow rootdir to be used as a argument
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user