mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 16:11:10 +00:00
Inlines fixtures instantiation.
This commit is contained in:
1 parent
b648e2f054
commit
59e16d645a
147 files changed
+190
-898
No files matched your search
+1
-9
@@ -25,7 +25,7 @@ namespace Lumina.Presentation.Api.IntegrationTests.Common.Setup;
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class AuthenticatedLuminaApiFactory : LuminaApiFactory, IDisposable
|
||||
{
|
||||
private readonly PasswordHashService _hashService;
|
||||
private readonly PasswordHashService _hashService = new();
|
||||
private readonly JsonSerializerOptions _jsonOptions = new()
|
||||
{
|
||||
PropertyNameCaseInsensitive = true
|
||||
@@ -36,14 +36,6 @@ public class AuthenticatedLuminaApiFactory : LuminaApiFactory, IDisposable
|
||||
/// </summary>
|
||||
public string? TestUsername { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="AuthenticatedLuminaApiFactory"/> class.
|
||||
/// </summary>
|
||||
public AuthenticatedLuminaApiFactory()
|
||||
{
|
||||
_hashService = new PasswordHashService();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates an HTTP client with authentication headers and a test user
|
||||
/// </summary>
|
||||
|
||||
Reference in new issue
Block a user