ApiIntegrationTestSamples
ApiIntegrationTestSamples copied to clipboard
System.InvalidOperationException.
I am trying to use this sample for my own project but when running the tests I get this error
System.InvalidOperationException : No method 'public static IWebHostBuilder CreateWebHostBuilder(string[] args)' found on 'AutoGeneratedProgram'. Alternatively, WebApplicationFactory1 can be extended and 'protected virtual IWebHostBuilder CreateWebHostBuilder()' can be overridden to provide your own IWebHostBuilder instance.