Test fix.
This commit is contained in:
parent
77b9baa095
commit
b976c57e1e
|
@ -36,7 +36,7 @@ describe("/api/system/migrations", () => {
|
||||||
|
|
||||||
it("runs migrations", async () => {
|
it("runs migrations", async () => {
|
||||||
const res = await config.api.migrations.runMigrations()
|
const res = await config.api.migrations.runMigrations()
|
||||||
expect(res.text).toBe("OK")
|
expect(res.body.message).toBeDefined()
|
||||||
expect(migrateFn).toHaveBeenCalledTimes(1)
|
expect(migrateFn).toHaveBeenCalledTimes(1)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue