From cc3629ff73f04ea1503f240af1baa997f723f1a4 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Wed, 30 Dec 2020 22:22:40 +0100 Subject: [PATCH] fixing test --- test/backend/integration/routers/GalleryRouter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/backend/integration/routers/GalleryRouter.ts b/test/backend/integration/routers/GalleryRouter.ts index fa00c6ff..75f0c099 100644 --- a/test/backend/integration/routers/GalleryRouter.ts +++ b/test/backend/integration/routers/GalleryRouter.ts @@ -28,9 +28,9 @@ describe('GalleryRouter', () => { Config.Client.Media.Video.enabled = true; Config.Server.Database.type = ServerConfig.DatabaseType.sqlite; Config.Server.Database.dbFolder = tempDir; + ProjectPath.reset(); ProjectPath.ImageFolder = path.join(__dirname, '../../assets'); ProjectPath.TempFolder = tempDir; - ProjectPath.reset(); server = new Server(); await server.onStarted.wait();