Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TestWebApplicationFactory : WebApplicationFactory<Startup>
- {
- protected override void ConfigureWebHost(IWebHostBuilder builder)
- {
- builder.UseEnvironment("TestAutomation");
- base.ConfigureWebHost(builder);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement