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
Joseph Doherty
f7e683703d
test: add SearchApiClientIntegrationTests for search endpoint validation
...
Add integration tests for SearchApiClient covering:
- GetUserSearchesAsync with authentication returns success
- GetUserSearchesAsync without authentication returns unauthorized
- GetSearchAsync with non-existent ID returns not found
2026-01-06 11:37:43 -05:00
Joseph Doherty
54de0ce1c3
test: add LookupApiClientIntegrationTests for lookup endpoint validation
...
Add 4 integration tests for LookupApiClient that verify lookup endpoints
work correctly through the actual HTTP pipeline without authentication.
2026-01-06 11:37:36 -05:00
Joseph Doherty
3ed2d7324d
test: add ClientIntegrationTestBase with shared auth HttpClient
2026-01-06 11:36:13 -05:00
Joseph Doherty
7e5ac56525
build: add Client project reference to integration tests
...
Add JdeScoping.Client project reference to Api.IntegrationTests
to enable testing API client classes against the real API.
2026-01-06 11:34:23 -05:00
Joseph Doherty
a8f79c26b2
refactor: add ApiRoutes import to FileControllerIntegrationTests
...
Added using statement for JdeScoping.Core.ApiContracts. The existing
routes (/api/file/...) are left unchanged as they test legacy download
by cache key endpoints which differ from the new FileIO routes.
2026-01-06 11:13:55 -05:00
Joseph Doherty
13976dea3b
refactor: use ApiRoutes constants in AuthenticationTests
...
Replace hardcoded route strings with ApiRoutes.* constants:
- ApiRoutes.Auth.PublicKey, Login, Logout, Me
- ApiRoutes.Search.Base
- ApiRoutes.Lookup.Items, ProfitCenters, WorkCenters, Operators
2026-01-06 11:12:17 -05:00
Joseph Doherty
3cb73eb09f
test(integration): update auth tests for encrypted login
2026-01-03 08:51:39 -05:00
Joseph Doherty
26ff8d9b4f
Initial commit: JDE Scoping Tool migration project
...
Set up repository with legacy .NET Framework 4.8 source (OLD/),
new .NET 10 Blazor solution (NEW/), OpenSpec specifications,
documentation, and project configuration.
2026-01-02 07:43:29 -05:00