Skip to content

Commit

Permalink
fixng big query test case
Browse files Browse the repository at this point in the history
  • Loading branch information
invisal committed Oct 17, 2024
1 parent 5dccf15 commit 4d6d724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/connections/connection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '[email protected]' WHERE TRUE;`
`UPDATE \`${DEFAULT_SCHEMA}.persons\` SET email = '[email protected]' WHERE TRUE;`
);
} else {
await db.update(
Expand Down

0 comments on commit 4d6d724

Please sign in to comment.