test(db): give the stand-in migration storage the master transaction calls

This commit is contained in:
Maurice
2026-11-17 22:40:26 +01:00
parent 82195c7418
commit 73f3aa8309
@@ -246,6 +246,8 @@ export function fakeMoveOrm(pg: FakePostgres, options: { pending?: string[]; kno
const migrator = {
getStorage: () => ({
ensureTable: vi.fn(async () => undefined),
setMasterMigration: vi.fn(),
unsetMasterMigration: vi.fn(),
logMigration: vi.fn(async ({ name }: { name: string }) => {
executed.push(name);
}),