Code fixed
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user