Inlines fixtures instantiation.

This commit is contained in:
BinaryAlley committed 2026-08-15 03:19:51 -07:00
1 parent b648e2f054
commit 59e16d645a
147 files changed
+190 -898

No files matched your search

@@ -14,15 +14,7 @@ namespace Lumina.Application.UnitTests.Common.Mapping.Authentication;
[ExcludeFromCodeCoverage]
public class ChangePasswordRequestMappingTests
{
private readonly ChangePasswordRequestFixture _fixture;
/// <summary>
/// Initializes a new instance of the <see cref="ChangePasswordRequestMappingTests"/> class.
/// </summary>
public ChangePasswordRequestMappingTests()
{
_fixture = new();
}
private readonly ChangePasswordRequestFixture _fixture = new();
[Fact]
public void ToCommand_WhenMappingRequest_ShouldMapCorrectly()
@@ -14,15 +14,7 @@ namespace Lumina.Application.UnitTests.Common.Mapping.Authentication;
[ExcludeFromCodeCoverage]
public class LoginRequestMappingTests
{
private readonly LoginRequestFixture _fixture;
/// <summary>
/// Initializes a new instance of the <see cref="LoginRequestMappingTests"/> class.
/// </summary>
public LoginRequestMappingTests()
{
_fixture = new();
}
private readonly LoginRequestFixture _fixture = new();
[Fact]
public void ToQuery_WhenMappingRequest_ShouldMapCorrectly()
@@ -14,15 +14,7 @@ namespace Lumina.Application.UnitTests.Common.Mapping.Authentication;
[ExcludeFromCodeCoverage]
public class RecoverPasswordRequestMappingTests
{
private readonly RecoverPasswordRequestFixture _fixture;
/// <summary>
/// Initializes a new instance of the <see cref="RecoverPasswordRequestMappingTests"/> class.
/// </summary>
public RecoverPasswordRequestMappingTests()
{
_fixture = new();
}
private readonly RecoverPasswordRequestFixture _fixture = new();
[Fact]
public void ToCommand_WhenMappingRequest_ShouldMapCorrectly()
@@ -15,15 +15,7 @@ namespace Lumina.Application.UnitTests.Common.Mapping.Authentication;
[ExcludeFromCodeCoverage]
public class RegistrationRequestMappingTests
{
private readonly RegistrationRequestFixture _fixture;
/// <summary>
/// Initializes a new instance of the <see cref="RegistrationRequestMappingTests"/> class.
/// </summary>
public RegistrationRequestMappingTests()
{
_fixture = new();
}
private readonly RegistrationRequestFixture _fixture = new();
[Fact]
public void ToSetupCommand_WhenMappingRequest_ShouldMapCorrectly()