Test fix.

This commit is contained in:
mike12345567 2024-12-13 16:59:19 +00:00
parent 77b9baa095
commit b976c57e1e
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ describe("/api/system/migrations", () => {
it("runs migrations", async () => {
const res = await config.api.migrations.runMigrations()
expect(res.text).toBe("OK")
expect(res.body.message).toBeDefined()
expect(migrateFn).toHaveBeenCalledTimes(1)
})
})