1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-10 11:10:35 +02: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();