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:
parent
3c479e1ad5
commit
99bfaf960b
|
|
@ -3,8 +3,15 @@ using Mango.Nop.Core.Interfaces;
|
|||
|
||||
namespace Mango.Nop.Core.Models;
|
||||
|
||||
public class MgLoginModelRequest(string email, string password) : IAcModelDtoBaseEmpty
|
||||
public class MgLoginModelRequest : IAcModelDtoBaseEmpty
|
||||
{
|
||||
public string Email { get; set; } = email;
|
||||
public string Password { get; set; } = password;
|
||||
public MgLoginModelRequest(){}
|
||||
public MgLoginModelRequest(string email, string password)
|
||||
{
|
||||
Email = email;
|
||||
Password = password;
|
||||
}
|
||||
|
||||
public string Email { get; set; }
|
||||
public string Password { get; set; }
|
||||
}
|
||||
Loading…
Reference in New Issue