test(encryption): drop the insights cache step from the backfill summaries

The free-text backfill no longer has an insights cache step since the
readable cached-text column was dropped, so its summary carries no
insightsCachesMigrated count. The expected summaries follow.
This commit is contained in:
Marc-André Bombeck committed 2026-10-22 01:19:01 +02:00
1 parent 75f9ef1507
commit 41c906e862
1 file changed
-7
@@ -140,7 +140,6 @@ describe("free-text encryption backfill (real Postgres)", () => {
routeGeometriesMigrated: 0,
appointmentAddressesCleared: 0,
contactAuditRowsScrubbed: 0,
insightsCachesMigrated: 0,
});
expect(await runFreeTextEncryptionBackfillForUser("ft-b")).toEqual({
conversationTitlesMigrated: 0,
@@ -149,7 +148,6 @@ describe("free-text encryption backfill (real Postgres)", () => {
routeGeometriesMigrated: 0,
appointmentAddressesCleared: 0,
contactAuditRowsScrubbed: 0,
insightsCachesMigrated: 0,
});
const conversations = await prisma.coachConversation.findMany({
@@ -198,7 +196,6 @@ describe("free-text encryption backfill (real Postgres)", () => {
routeGeometriesMigrated: 0,
appointmentAddressesCleared: 0,
contactAuditRowsScrubbed: 0,
insightsCachesMigrated: 0,
});
});
@@ -283,7 +280,6 @@ describe("free-text encryption backfill (real Postgres)", () => {
routeGeometriesMigrated: 0,
appointmentAddressesCleared: 0,
contactAuditRowsScrubbed: 0,
insightsCachesMigrated: 0,
});
expect(await runFreeTextEncryptionBackfillForUser("pc-b")).toEqual({
conversationTitlesMigrated: 0,
@@ -292,7 +288,6 @@ describe("free-text encryption backfill (real Postgres)", () => {
routeGeometriesMigrated: 1,
appointmentAddressesCleared: 0,
contactAuditRowsScrubbed: 0,
insightsCachesMigrated: 0,
});
const practitioners = await prisma.practitioner.findMany({
@@ -353,7 +348,6 @@ describe("free-text encryption backfill (real Postgres)", () => {
routeGeometriesMigrated: 0,
appointmentAddressesCleared: 0,
contactAuditRowsScrubbed: 0,
insightsCachesMigrated: 0,
});
});
@@ -451,7 +445,6 @@ describe("free-text encryption backfill (real Postgres)", () => {
expect(summaryA).toMatchObject({
appointmentAddressesCleared: 1,
contactAuditRowsScrubbed: 1,
insightsCachesMigrated: 0,
});
await runFreeTextEncryptionBackfillForUser("ad-b");