Working on search tests.
This commit is contained in:
parent
dbe9eedcba
commit
f49f9280d9
|
@ -3329,7 +3329,7 @@ if (descriptions.length) {
|
||||||
})
|
})
|
||||||
|
|
||||||
isSql &&
|
isSql &&
|
||||||
describe("primaryDisplay", () => {
|
describe.only("primaryDisplay", () => {
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
let toRelateTableId = await createTable({
|
let toRelateTableId = await createTable({
|
||||||
name: {
|
name: {
|
||||||
|
|
|
@ -486,8 +486,6 @@ class OracleIntegration extends Sql implements DatasourcePlus {
|
||||||
this.log(query.sql, bindings)
|
this.log(query.sql, bindings)
|
||||||
const result = await connection.execute(query.sql, bindings, options)
|
const result = await connection.execute(query.sql, bindings, options)
|
||||||
return result as Result<T>
|
return result as Result<T>
|
||||||
} catch (err) {
|
|
||||||
throw err
|
|
||||||
} finally {
|
} finally {
|
||||||
if (connection) {
|
if (connection) {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -252,7 +252,11 @@ export async function save(
|
||||||
for (let extraTable of extraTablesToUpdate) {
|
for (let extraTable of extraTablesToUpdate) {
|
||||||
const oldExtraTable = oldTables[extraTable.name]
|
const oldExtraTable = oldTables[extraTable.name]
|
||||||
let op = oldExtraTable ? Operation.UPDATE_TABLE : Operation.CREATE_TABLE
|
let op = oldExtraTable ? Operation.UPDATE_TABLE : Operation.CREATE_TABLE
|
||||||
await makeTableRequest(datasource, op, extraTable)
|
try {
|
||||||
|
await makeTableRequest(datasource, op, extraTable)
|
||||||
|
} catch (err: any) {
|
||||||
|
throw err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// make sure the constrained list, all still exist
|
// make sure the constrained list, all still exist
|
||||||
|
|
Loading…
Reference in New Issue