Fixing test case.
This commit is contained in:
parent
4f2af86871
commit
185e9c3425
|
@ -143,7 +143,10 @@ describe("/api/env/variables", () => {
|
||||||
delete response.body.datasource.config
|
delete response.body.datasource.config
|
||||||
expect(events.query.previewed).toHaveBeenCalledWith(
|
expect(events.query.previewed).toHaveBeenCalledWith(
|
||||||
response.body.datasource,
|
response.body.datasource,
|
||||||
queryPreview
|
{
|
||||||
|
...queryPreview,
|
||||||
|
nullDefaultSupport: true,
|
||||||
|
}
|
||||||
)
|
)
|
||||||
expect(pg.Client).toHaveBeenCalledWith({ password: "test", ssl: undefined })
|
expect(pg.Client).toHaveBeenCalledWith({ password: "test", ssl: undefined })
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue