internal IntegrationTestBase() { // Use LocalDB for Entity Framework by default // Database.DefaultConnectionFactory = new SqlConnectionFactory("Data Source=(localdb)\\v11.0; Integrated Security=True; MultipleActiveResultSets=True"); MegaMediaManagerContextInitializer.Init(false); }
/// <summary> /// Initializes a new instance of the PresentationTestBase class. /// </summary> public PresentationTestBase() { AutoMapperConfig.Start(); MegaMediaManagerContextInitializer.Init(true); }