fix table tests

This commit is contained in:
Martin McKeaveney 2024-12-06 19:44:35 +00:00
parent 8f165d5b68
commit 492d5a37f2
1 changed files with 3 additions and 2 deletions

View File

@ -247,6 +247,8 @@ if (descriptions.length) {
},
},
},
views: {},
sql: true
})
)
@ -254,9 +256,8 @@ if (descriptions.length) {
...table,
name: generator.guid(),
})
expect(events.table.updated).toHaveBeenCalledTimes(1)
expect(events.table.updated).toHaveBeenCalledWith(updatedTable)
expect(events.table.updated).toHaveBeenCalledWith(table, updatedTable)
})
it("updates all the row fields for a table when a schema key is renamed", async () => {