Code fixed

This commit is contained in:
Yaojia Wang
2026-02-13 10:31:54 +01:00
parent 26d0c41203
commit f319c6e772
34 changed files with 18234 additions and 16670 deletions

View File

@@ -1,6 +1,7 @@
using FiscalFlow.Application.Services;
using FiscalFlow.Core.Entities;
using FiscalFlow.Core.Interfaces;
using Microsoft.Extensions.Configuration;
using Moq;
using Xunit;
using FluentAssertions;
@@ -17,9 +18,9 @@ public class AuthServiceTests
{
_userRepositoryMock = new Mock<IRepository<User>>();
_unitOfWorkMock = new Mock<IUnitOfWork>();
var configuration = new Microsoft.Extensions.Configuration.ConfigurationBuilder()
.AddInMemoryCollection(new Dictionary<string, string>
var configuration = new ConfigurationBuilder()
.AddInMemoryCollection(new Dictionary<string, string?>
{
["Jwt:SecretKey"] = "this-is-a-test-secret-key-that-is-32-chars-long",
["Jwt:Issuer"] = "TestIssuer",