diff --git a/src/app/api/auth/me/health-score-config/__tests__/route.test.ts b/src/app/api/auth/me/health-score-config/__tests__/route.test.ts index a02746236..ae1f5db38 100644 --- a/src/app/api/auth/me/health-score-config/__tests__/route.test.ts +++ b/src/app/api/auth/me/health-score-config/__tests__/route.test.ts @@ -455,10 +455,10 @@ describe("the published contract matches what the route serves", () => { // Body that fails validation. await record({ pillars: ["NOT_A_PILLAR"] }); // Present-but-unparseable base token. - await record({ pillars: ALL_EIGHT, baseUpdatedAt: null }); + await record({ pillars: ALL_PILLARS, baseUpdatedAt: null }); // Stale base token. await record( - { pillars: ALL_EIGHT, baseUpdatedAt: "2026-07-24T08:00:00.000Z" }, + { pillars: ALL_PILLARS, baseUpdatedAt: "2026-07-24T08:00:00.000Z" }, true, ); return byStatus; @@ -506,7 +506,7 @@ describe("the published contract matches what the route serves", () => { vi.mocked(prisma.user.updateMany).mockResolvedValue({ count: 1 } as never); const res = await (PATCH as (r: Request) => Promise)( - mkPatch({ pillars: ALL_EIGHT }), + mkPatch({ pillars: ALL_PILLARS }), ); const env = (await res.json()) as { data: ResolvedBody }; expect(res.status).toBe(200); diff --git a/src/lib/analytics/score/types.ts b/src/lib/analytics/score/types.ts index e958263ce..e9ce9f3b7 100644 --- a/src/lib/analytics/score/types.ts +++ b/src/lib/analytics/score/types.ts @@ -22,7 +22,7 @@ export const SCORE_VERSION = 3 as const; /** * The pillars a score can be built from. * - * v1.35.1 — FITNESS is gone. The schema records VO₂max but cannot tell a + * v1.35.2 — FITNESS is gone. The schema records VO₂max but cannot tell a * measured test apart from a device estimate, so every FITNESS row * reached the scorer unproven and was refused: the pillar had never once * produced a value on any account. A pillar that cannot score is not a