Commit Graph

3 Commits

Author SHA1 Message Date
Loretta e33fae85f3 Refactor tests to use GetResponseData<T> for responses
Update SignalRClientToEndpointTest to use the generic GetResponseData<T>() method instead of directly accessing the ResponseData property. This improves type safety and ensures consistent handling of response data across all relevant test cases.
2025-12-14 01:45:06 +01:00
Loretta 0dab07d2e8 Add SignalR binary serialization tests for CustomerDto lists
- Add endpoints and tests for binary serialization of TestCustomerDto lists to reproduce and diagnose MessagePack interned string index errors
- Update appsettings.json to use FruitBank_PROD database
- Set AcBinarySerializerOptions in DevAdminSignalRHubSandbox
- Extend TestSignalRTags and ITestSignalREndpointServer for new endpoints
- Add TestCustomerDto class for serialization tests
- Remove obsolete low-level SignalR/HTTP endpoint test files
2025-12-13 00:16:58 +01:00
Loretta c8fa8d1c4c Minimal SignalR test hub and endpoint for isolated testing
Refactored Mango.Sandbox.EndPoints to enable minimal, dependency-light SignalR endpoint testing. Introduced DevAdminSignalRHubSandbox and TestSignalREndpoint for protocol/contract tests without full NopCommerce/FruitBank infra. Added SignalRClientSandbox and comprehensive MSTest coverage for all parameter types. Simplified Program.cs startup, updated project references, and added minimal logger. Original SignalREndpointTests replaced with focused, low-level and high-level tests. CORS and DTOs updated for compatibility.
2025-12-11 23:46:35 +01:00