Commit 99e956a
fix(test): catch leftover birthYear 2000 defaults in helpers
cbd74ea sed missed two `??` default-fallback patterns:
- e2e/golden-paths.spec.ts:31 `birthYear: opts.birthYear ?? 2000`
- e2e/production-ready.spec.ts:38 `birthYear: opts.birthYear ?? 2000`
These are the per-spec `register(page, opts)` helpers; specs that
called them without an explicit birthYear got the 2000 default,
which the post-G-01 server clamp rejects with `Too small: expected
number to be >=2010`. CI v3 surfaced this on every `gp_...` and
`pr_...` registration.
Both swapped to 2012 (within the 7-16 GDPR-K target band) — same
fix as the other fixture sites.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent cbd74ea commit 99e956a
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments