Working on search tests.

This commit is contained in:
Sam Rose 2024-11-28 09:42:01 +00:00
parent dbe9eedcba
commit f49f9280d9
No known key found for this signature in database
3 changed files with 6 additions and 4 deletions

View File

@ -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: {

View File

@ -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 {

View File

@ -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