You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-07-17 01:32:29 +02:00
fixing DB test for memory DB
This commit is contained in:
@ -123,6 +123,8 @@ export class DBTestHelper {
|
|||||||
await this.initSQLite();
|
await this.initSQLite();
|
||||||
} else if (this.dbType === DatabaseType.mysql) {
|
} else if (this.dbType === DatabaseType.mysql) {
|
||||||
await this.initMySQL();
|
await this.initMySQL();
|
||||||
|
} else if (this.dbType === DatabaseType.memory) {
|
||||||
|
Config.Server.Database.type = DatabaseType.memory;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user