autobus-api_old/AutobusApi.UnitTests/Common/Mappings/MappingTestsFixture.cs
2023-11-30 16:18:07 +02:00

19 lines
444 B
C#

using AutobusApi.Application.Common.Mappings;
using AutoMapper;
namespace AutobusApi.UnitTests.Common.Mappings;
public class MappingTestsFixture
{
public IConfigurationProvider ConfigurationProvider;
public IMapper Mapper;
public MappingTestsFixture()
{
ConfigurationProvider = new MapperConfiguration(options => options.AddProfile<MappingProfile>());
Mapper = ConfigurationProvider.CreateMapper();
}
}