add infrastructure configuration to tests
This commit is contained in:
parent
fbe26898fa
commit
feeaf06330
@ -8,6 +8,7 @@ using Moq;
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using cuqmbr.TravelGuide.Application.Common.Services;
|
using cuqmbr.TravelGuide.Application.Common.Services;
|
||||||
using cuqmbr.TravelGuide.Domain.Enums;
|
using cuqmbr.TravelGuide.Domain.Enums;
|
||||||
|
using cuqmbr.TravelGuide.Configuration.Infrastructure;
|
||||||
|
|
||||||
namespace cuqmbr.TravelGuide.Application.IntegrationTests;
|
namespace cuqmbr.TravelGuide.Application.IntegrationTests;
|
||||||
|
|
||||||
@ -29,9 +30,8 @@ public abstract class TestBase : IDisposable
|
|||||||
})
|
})
|
||||||
.ConfigureLogging()
|
.ConfigureLogging()
|
||||||
.ConfigureApplication()
|
.ConfigureApplication()
|
||||||
|
.ConfigureInfrastructure()
|
||||||
.ConfigurePersistence();
|
.ConfigurePersistence();
|
||||||
// TODO: Create InMemory configuration for Identity
|
|
||||||
// .ConfigureIdentity();
|
|
||||||
|
|
||||||
SetCulture("en-US");
|
SetCulture("en-US");
|
||||||
SetTimeZone("Europe/Kyiv");
|
SetTimeZone("Europe/Kyiv");
|
||||||
|
Loading…
Reference in New Issue
Block a user