public AccountsProviderTests(DataBaseFixture fixture) { var zipPayProfile = new ZipPayProfile(); var configuration = new MapperConfiguration(cfg => cfg.AddProfile(zipPayProfile)); _mapper = new Mapper(configuration); _logger = new Mock <ILogger <AccountsProvider> >(); _fixture = fixture; }
public UserProviderTests(DataBaseFixture fixture) { _fixture = fixture; var zipPayProfile = new ZipPayProfile(); var configuration = new MapperConfiguration(cfg => cfg.AddProfile(zipPayProfile)); _mapper = new Mapper(configuration); _logger = new Mock <ILogger <UsersProvider> >().Object; }