fix table tests
This commit is contained in:
parent
8f165d5b68
commit
492d5a37f2
|
@ -247,6 +247,8 @@ if (descriptions.length) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
views: {},
|
||||||
|
sql: true
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -254,9 +256,8 @@ if (descriptions.length) {
|
||||||
...table,
|
...table,
|
||||||
name: generator.guid(),
|
name: generator.guid(),
|
||||||
})
|
})
|
||||||
|
|
||||||
expect(events.table.updated).toHaveBeenCalledTimes(1)
|
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 () => {
|
it("updates all the row fields for a table when a schema key is renamed", async () => {
|
||||||
|
|
Loading…
Reference in New Issue