af60719b

By: Michael Lynch <git@mtlynch.io>

Simplify login POST test to verify handler redirect behavior

The test was exercising dev-mode creator logic (LoginConfirmPath +
magiclogin.NewSender) rather than the handler's own behavior. Replace
with a simple mock that returns a fixed redirect path and verify the
handler issues a 303 to it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 1s 6s 6s 7s 1s
Eval 6s 44s 44s 50s 0s
Build 10s 5m19s 1m07s 1m18s 0s
Suite 1s 6m10s 1m16s 1m18s 1s

Timeline

0s10s20s30s40s50s1m1m10s