public CsvDbUpdateSimpleArticleTests() { _fixture = new Fixture().Customize(new AutoConfiguredMoqCustomization()).Customize(new MultipleCustomization()); _fixture.Customize <Field>(composer => composer.FromFactory(CsvDbUpdateTestHelpers.GenerateField(_fixture)).OmitAutoProperties()); QPContext.CurrentDbConnectionString = _fixture.Create <string>(); LogProvider.LogFactory = new NullLogFactory(); }
public CsvDbUpdateSimpleArticleTests() { _fixture = new Fixture().Customize(new AutoMoqCustomization() { ConfigureMembers = true }); _fixture.Customize <Field>(composer => composer.FromFactory(CsvDbUpdateTestHelpers.GenerateField(_fixture)).OmitAutoProperties()); QPContext.CurrentDbConnectionString = _fixture.Create <string>(); }