Adding Tests and Refactoring
Functional Tests for RazorPages added
This commit is contained in:
@@ -10,10 +10,7 @@ namespace FunctionalTests.Web.Controllers
|
||||
{
|
||||
public CatalogControllerIndex(CustomWebApplicationFactory<Startup> factory)
|
||||
{
|
||||
Client = factory.CreateClient(new WebApplicationFactoryClientOptions
|
||||
{
|
||||
AllowAutoRedirect = false
|
||||
});
|
||||
Client = factory.CreateClient();
|
||||
}
|
||||
|
||||
public HttpClient Client { get; }
|
||||
|
||||
Reference in New Issue
Block a user