Update Google mirror status test
This commit is contained in:
parent
9629d4ea8f
commit
f2aa7a487e
@ -14,6 +14,7 @@ describe("GoogleService", () => {
|
|||||||
driveMirrorSpreadsheetUrl: "https://docs.google.com/spreadsheets/d/sheet_123",
|
driveMirrorSpreadsheetUrl: "https://docs.google.com/spreadsheets/d/sheet_123",
|
||||||
driveMirrorLastSyncedAt: new Date("2026-01-02T00:00:00.000Z"),
|
driveMirrorLastSyncedAt: new Date("2026-01-02T00:00:00.000Z"),
|
||||||
lastSyncedAt: new Date("2026-01-02T00:00:00.000Z"),
|
lastSyncedAt: new Date("2026-01-02T00:00:00.000Z"),
|
||||||
|
dataSystemMode: "google_sheets_mirror",
|
||||||
isConnected: true,
|
isConnected: true,
|
||||||
});
|
});
|
||||||
const service = new GoogleService(prisma as any);
|
const service = new GoogleService(prisma as any);
|
||||||
@ -30,6 +31,12 @@ describe("GoogleService", () => {
|
|||||||
lastSyncedAt: new Date("2026-01-02T00:00:00.000Z"),
|
lastSyncedAt: new Date("2026-01-02T00:00:00.000Z"),
|
||||||
ownership: "user_google_drive",
|
ownership: "user_google_drive",
|
||||||
},
|
},
|
||||||
|
dataSystem: {
|
||||||
|
mode: "google_sheets_mirror",
|
||||||
|
operationalSystemOfRecord: "ledgerone_backend_db",
|
||||||
|
userOwnedMirror: true,
|
||||||
|
note: "LedgerOne writes a best-effort user-owned Google Sheets mirror while the application database remains the operational store.",
|
||||||
|
},
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user