mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 17:11:10 +00:00
Renames Model to Dto
This commit is contained in:
1 parent
76b9596a27
commit
3aa9702411
32 files changed
+179
-139
No files matched your search
+4
-4
@@ -1,6 +1,6 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Bogus;
|
||||
using Lumina.Infrastructure.Common.Models.Configuration;
|
||||
using Lumina.Infrastructure.Common.Models.DTO.Configuration;
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
#endregion
|
||||
@@ -17,10 +17,10 @@ public class JwtTokenGeneratorFixture
|
||||
/// Creates a valid JWT settings model for testing.
|
||||
/// </summary>
|
||||
/// <returns>The created settings model.</returns>
|
||||
public static JwtSettingsModel CreateJwtSettings()
|
||||
public static JwtSettingsDto CreateJwtSettings()
|
||||
{
|
||||
return new Faker<JwtSettingsModel>()
|
||||
.CustomInstantiator(f => new JwtSettingsModel
|
||||
return new Faker<JwtSettingsDto>()
|
||||
.CustomInstantiator(f => new JwtSettingsDto
|
||||
{
|
||||
SecretKey = "this-is-a-very-long-secret-key-for-testing-jwt-tokens",
|
||||
ExpiryMinutes = 30,
|
||||
|
||||
Reference in new issue
Block a user