mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
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:
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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user