- Fix MSTest compatibility with .NET 9.0 by upgrading to MSTest.TestFramework 4.2.3 - Move Tests directory to solution level (Tests/) to prevent test files from being compiled with GermanApp - Update test project references to point to GermanApp/GermanApp.csproj - Add InternalsVisibleTo attributes for test assemblies - Make RefreshToken properties internal for testability - Fix User.ChangeEmail null handling - Add 46 comprehensive unit tests for User and RefreshToken domain entities - All tests passing successfully Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
11 lines
310 B
C#
11 lines
310 B
C#
namespace GermanApp.Application.DTOs.Auth;
|
|
|
|
/// <summary>
|
|
/// DTO for refresh token response.
|
|
/// </summary>
|
|
public record RefreshTokenResponse
|
|
{
|
|
public string Token { get; init; } = string.Empty;
|
|
public string RefreshToken { get; init; } = string.Empty;
|
|
public DateTime ExpiresAt { get; init; }
|
|
}
|