Fix search.spec.ts.
This commit is contained in:
parent
f49f9280d9
commit
b700f16a3a
|
@ -3329,7 +3329,7 @@ if (descriptions.length) {
|
||||||
})
|
})
|
||||||
|
|
||||||
isSql &&
|
isSql &&
|
||||||
describe.only("primaryDisplay", () => {
|
describe("primaryDisplay", () => {
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
let toRelateTableId = await createTable({
|
let toRelateTableId = await createTable({
|
||||||
name: {
|
name: {
|
||||||
|
|
|
@ -253,7 +253,7 @@ export async function save(
|
||||||
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
|
||||||
try {
|
try {
|
||||||
await makeTableRequest(datasource, op, extraTable)
|
await makeTableRequest(datasource, op, extraTable, oldExtraTable)
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
throw err
|
throw err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue