From 860c811504ce5e8c8e1b8dd0d007f0c44a0b04b3 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Wed, 11 Dec 2024 08:40:48 +0100 Subject: [PATCH] oracle table-create test passes --- integration-tests/__tests__/table-create.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/__tests__/table-create.spec.js b/integration-tests/__tests__/table-create.spec.js index 471f5e544..606811aec 100644 --- a/integration-tests/__tests__/table-create.spec.js +++ b/integration-tests/__tests__/table-create.spec.js @@ -2,7 +2,7 @@ const _ = require('lodash'); const fp = require('lodash/fp'); const engines = require('../engines'); const { testWrapper } = require('../tools'); -const { extendDatabaseInfo } = require('dbgate-tools'); +const { extendDatabaseInfo, runCommandOnDriver } = require('dbgate-tools'); function createExpector(value) { return _.cloneDeepWith(value, x => { @@ -25,7 +25,7 @@ function checkTableStructure2(t1, t2) { } async function testTableCreate(conn, driver, table) { - await driver.query(conn, `create table t0 (id int not null primary key)`); + await runCommandOnDriver(conn, driver, dmp => dmp.put('create table ~t0 (~id int not null primary key)')); const dmp = driver.createDumper(); const table1 = {