Skip to content

Commit

Permalink
[FIXUP] more move insert
Browse files Browse the repository at this point in the history
  • Loading branch information
mcheshkov committed Nov 18, 2024
1 parent 015dbec commit 02d41bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/cubejs-clickhouse-driver/test/ClickHouseDriver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('ClickHouseDriver', () => {
jest.setTimeout(10 * 1000);

await doWithDriver(async (driver) => {
await driver.query('DROP DATABASE test', []);
await driver.command('DROP DATABASE test');
});

if (container) {
Expand Down Expand Up @@ -151,7 +151,7 @@ describe('ClickHouseDriver', () => {
try {
await driver.createSchemaIfNotExists(name);
} finally {
await driver.query(`DROP DATABASE ${name}`, []);
await driver.command(`DROP DATABASE ${name}`);
}
});
});
Expand Down Expand Up @@ -198,7 +198,7 @@ describe('ClickHouseDriver', () => {
date: '2019-04-30T00:00:00.000',
}]);
} finally {
await driver.query(`DROP DATABASE ${name}`, []);
await driver.command(`DROP DATABASE ${name}`);
}
});
});
Expand All @@ -213,7 +213,7 @@ describe('ClickHouseDriver', () => {
const values = await driver.query(`SELECT * FROM ${name}.test WHERE x = ?`, [2]);
expect(values).toEqual([{ x: '2', s: 'str2' }]);
} finally {
await driver.query(`DROP DATABASE ${name}`, []);
await driver.command(`DROP DATABASE ${name}`);
}
});
});
Expand Down Expand Up @@ -242,7 +242,7 @@ describe('ClickHouseDriver', () => {
}
]);
} finally {
await driver.query(`DROP DATABASE ${name}`, []);
await driver.command(`DROP DATABASE ${name}`);
}
});
});
Expand Down

0 comments on commit 02d41bb

Please sign in to comment.