test(recovery): keep the weekly-copy push test to its one signal

With the real dump health wired in, an empty test database also reports
a missing dump. The file follows the weekly copy alone; the dump signal
is judged in the readiness unit tests.
This commit is contained in:
Marc-André Bombeck committed 2026-10-25 15:16:14 +01:00
1 parent da9d941a24
commit 8678a3edc4
1 file changed
+7
@@ -48,6 +48,13 @@ vi.mock("@parse/node-apn", () => {
return { default: { Provider, Notification }, Provider, Notification };
});
// This file follows the weekly-copy signal alone. The database dump has its
// own signal, judged in the readiness unit tests; here no dump is scheduled,
// so an empty test database does not add a dump alarm of its own.
vi.mock("@/lib/recovery/database-dump-health", () => ({
readDatabaseBackupHealth: async () => null,
}));
vi.mock("@/lib/db-compat", () => ({
ensureDbCompatibility: vi.fn().mockResolvedValue(undefined),
}));