Joseph Doherty
|
bff947d1e8
|
test: add AuthApiClientIntegrationTests
Add 5 integration tests for AuthApiClient:
- GetPublicKeyAsync_ReturnsValidPublicKey
- LoginAsync_WithValidCredentials_ReturnsSuccess
- GetCurrentUserAsync_AfterLogin_ReturnsUserInfo
- GetCurrentUserAsync_WithoutAuth_ReturnsUnauthorized
- LogoutAsync_AfterLogin_InvalidatesSession
Tests use RSA encryption pattern for login credentials and
verify auth cookie behavior across requests.
|
2026-01-06 11:39:09 -05:00 |
|