Arnaud Dartois
d0da78188a
test(auth): add integration tests for authentication redirect flow
Add AuthFlowTests to catch Blazor redirect bugs:
- Get_Root_WithoutAuth_RedirectsToLogin: unauthenticated GET /
must redirect to /login (would have caught the /Account/Login bug)
- Get_LoginPage_ReturnsOk: verify login page renders
- Get_ProtectedApi_WithoutAuth_ReturnsUnauthorized: API auth check
- RegisterAdmin_ThenLogin_ReturnsJwt_AndAccessesProtectedApi:
full auth flow with JWT token refresh
- Register_WithWeakPassword_ReturnsBadRequest: password validation
- Register_ReturnsValidAuthResponse: success path
2026-07-24 19:39:47 +00:00
..
2026-07-24 06:38:15 +00:00
2026-07-20 20:32:32 +00:00
2026-07-23 19:19:05 +00:00
2026-07-23 09:52:30 +00:00
2026-07-23 19:19:05 +00:00
2026-07-23 15:08:09 +00:00
2026-07-24 19:39:47 +00:00
2026-07-21 19:59:27 +00:00
2026-07-23 20:40:56 +00:00