From db53503a0422174a4aae3c7b034daef6ae966f41 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Tue, 11 May 2021 15:20:36 +0200 Subject: [PATCH] fixing DB test for memory DB --- test/backend/DBTestHelper.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/backend/DBTestHelper.ts b/test/backend/DBTestHelper.ts index 28a44778..86f79b69 100644 --- a/test/backend/DBTestHelper.ts +++ b/test/backend/DBTestHelper.ts @@ -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; } }