1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

fixing test

This commit is contained in:
Patrik J. Braun 2020-12-30 22:22:40 +01:00
parent 411023021d
commit cc3629ff73

View File

@ -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();