1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +12:00

Fixing test case.

This commit is contained in:
mike12345567 2024-03-22 13:01:51 +00:00
parent 4f2af86871
commit 185e9c3425

View file

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