From 4d6d724a8e60d4ba189c024d96d73978d9a75542 Mon Sep 17 00:00:00 2001 From: "Visal .In" Date: Thu, 17 Oct 2024 20:23:06 +0700 Subject: [PATCH] fixng big query test case --- tests/connections/connection.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/connections/connection.test.ts b/tests/connections/connection.test.ts index b80ef64..1f40813 100644 --- a/tests/connections/connection.test.ts +++ b/tests/connections/connection.test.ts @@ -188,7 +188,7 @@ describe('Database Connection', () => { // Need to update email because MongoDB does not have schema if (process.env.CONNECTION_TYPE === 'bigquery') { await db.raw( - `UPDATE persons SET email = 'test@outerbase.com' WHERE TRUE;` + `UPDATE \`${DEFAULT_SCHEMA}.persons\` SET email = 'test@outerbase.com' WHERE TRUE;` ); } else { await db.update(