Commit a080574
committed
`analytics-read-scope-refusal-envelope.test.ts` was written from a sibling
analytics test before #5674 landed, so its `getDiscovery` double carried
`endpoints: {}` -- the dispatcher-only copy of `routes` that #4828 retired under
ADR-0049 and that no producer ever emitted. #5674 corrected the 26 existing
doubles and added `discovery-double-retired-key.test.ts` to pin the key out of
the fixture layer; this file arrived after that sweep and reintroduced it.
Corrected to the producer's real shape -- `routes: { data: '', metadata: '' }`,
`ApiRoutesSchema` as `DiscoverySchema` requires it -- matching the three sibling
analytics doubles verbatim. The key was inert here (nothing in this file drives
discovery), which is exactly the reason it kept surviving retirement, so this is
the double being made faithful to its producer rather than a guard being
satisfied.
1 parent 12751bb commit a080574
1 file changed
Lines changed: 8 additions & 1 deletion
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
75 | 82 | | |
76 | 83 | | |
77 | 84 | | |
| |||
0 commit comments