From 155beb280823d9efad65dd20dedc8a145faebbcd Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 28 Sep 2024 08:11:35 +0100 Subject: Updatet Mill to 0.11.12 --- server/test/src/TestData.scala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'server/test') diff --git a/server/test/src/TestData.scala b/server/test/src/TestData.scala index 64ac43b..133c679 100644 --- a/server/test/src/TestData.scala +++ b/server/test/src/TestData.scala @@ -8,6 +8,8 @@ object TestData { val port = 1965 val portStr = port.toString() + var resPath = sys.env("MILL_TEST_RESOURCE_FOLDER") + val conf = ServiceConf( address = "127.0.0.1", port = port, @@ -16,7 +18,7 @@ object TestData { virtualHosts = List( VirtualHost( host = host, - root = getClass.getResource("/").getPath(), + root = resPath, keyStore = KeyStore( path = "/tmp/unused.jks", alias = "localhost", @@ -98,7 +100,7 @@ object TestData { .copy( userDirectories = true, userDirectoryPath = Some( - getClass.getResource("/").getPath() + "{user}/public_gemini/" + resPath + "/{user}/public_gemini/" ) ) ) -- cgit v1.2.3