From b976c57e1e890b7ac57b6d97c1bf2240edb46569 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 13 Dec 2024 16:59:19 +0000 Subject: [PATCH] Test fix. --- packages/worker/src/api/routes/system/tests/migrations.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/api/routes/system/tests/migrations.spec.ts b/packages/worker/src/api/routes/system/tests/migrations.spec.ts index 4198d65ee9..fe91a1070c 100644 --- a/packages/worker/src/api/routes/system/tests/migrations.spec.ts +++ b/packages/worker/src/api/routes/system/tests/migrations.spec.ts @@ -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) }) })