public void FixtureSetUp() { Bootstrap.AutoMapper(); var integrationTestsPath = PlatformServices.Default.Application.ApplicationBasePath; var applicationPath = Path.GetFullPath(Path.Combine(integrationTestsPath, "../../../../core-testing-sample")); server = new TestServer(new WebHostBuilder() .UseStartup <TestingStartup>() .UseContentRoot(applicationPath) .UseEnvironment("Development")); client = server.CreateClient(); }
public void FixtureSetUp() { Bootstrap.AutoMapper(); }