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.
This commit is contained in:
Loretta 2025-12-11 23:46:36 +01:00
parent 3c479e1ad5
commit 99bfaf960b
1 changed files with 10 additions and 3 deletions

View File

@ -3,8 +3,15 @@ using Mango.Nop.Core.Interfaces;
namespace Mango.Nop.Core.Models; namespace Mango.Nop.Core.Models;
public class MgLoginModelRequest(string email, string password) : IAcModelDtoBaseEmpty public class MgLoginModelRequest : IAcModelDtoBaseEmpty
{ {
public string Email { get; set; } = email; public MgLoginModelRequest(){}
public string Password { get; set; } = password; public MgLoginModelRequest(string email, string password)
{
Email = email;
Password = password;
}
public string Email { get; set; }
public string Password { get; set; }
} }