mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
fixing test
This commit is contained in:
parent
411023021d
commit
cc3629ff73
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user