mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
fixing DB test for memory DB
This commit is contained in:
parent
34383c0f3b
commit
db53503a04
@ -123,6 +123,8 @@ export class DBTestHelper {
|
||||
await this.initSQLite();
|
||||
} else if (this.dbType === DatabaseType.mysql) {
|
||||
await this.initMySQL();
|
||||
} else if (this.dbType === DatabaseType.memory) {
|
||||
Config.Server.Database.type = DatabaseType.memory;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user