docs(refactor-log): populate §6.3 with auth presenter-shape test note
Spec reviewer noted §6.3 was missed during Task 3 commit. The presenter tests exist in code (sign-in / sign-up controller tests assert cookie shape, not full use-case output); the changelog just didn't record it. Pure docs change.
This commit is contained in:
@@ -72,7 +72,8 @@ auth: signIn and signUp each have 2 new R25 tests — one verifying that a malfo
|
||||
auth: 2 new R26 tests in router.test.ts — UNAUTHORIZED on missing user (AuthenticationError translation), BAD_REQUEST on Zod schema failure (schema validation at procedure boundary).
|
||||
|
||||
### 6.3 R27/R28 — presenter shape tests
|
||||
(populated when controllers with non-identity presenters add view-shape assertions)
|
||||
|
||||
- auth (Task 3): sign-in and sign-up controllers reshape `{ session, cookie }` → `cookie`. Controller tests assert cookie shape (`result.name`, `result.value`, etc.) — not the full use-case output — proving the presenter ran. Same assertions in `tests/sign-in-flow.feature.test.ts`. sign-out controller has no presenter (void return), so no view-shape test applies.
|
||||
|
||||
## 7. Open issues / deferred decisions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user