3 references to CreateController
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
TryValidateModelIntegrationTest.cs (3)
139
var controller =
CreateController
(testContext, testContext.MetadataProvider, o => o.ValidateComplexTypesIfChildValidationFails = true);
160
var controller =
CreateController
(testContext, testContext.MetadataProvider, o => o.ValidateComplexTypesIfChildValidationFails = false);
204
return
CreateController
(actionContext, metadataProvider, _ => { });