Commit f9457f3
fix: token validator lambda parameter mismatch in tests
The token_validator lambda in test setup was defined as `-> { true }`
(no parameters) but the authentication code calls it with a parameter
`token_validator.call(decoded)`. This caused a silent ArgumentError that
broke the authentication flow, causing the test to fail.
Fixed by changing the lambda to accept the decoded parameter:
`-> { true }` → `->(_decoded) { true }`
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent d105bab commit f9457f3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments