5 references to GetRangeErrorMessage
Microsoft.AspNetCore.Mvc.IntegrationTests (5)
BodyValidationIntegrationTests.cs (2)
117
var priceRange = ValidationAttributeUtil.
GetRangeErrorMessage
(20, 100, "Price");
284
var priceRange = ValidationAttributeUtil.
GetRangeErrorMessage
(100, 200, "Price");
TryValidateModelIntegrationTest.cs (1)
110
var priceRange = ValidationAttributeUtil.
GetRangeErrorMessage
(20, 100, "Price");
ValidationIntegrationTests.cs (1)
118
Assert.Equal(ValidationAttributeUtil.
GetRangeErrorMessage
(25, 50, "AccountId"), error.ErrorMessage);
ValidationWithRecordIntegrationTests.cs (1)
110
Assert.Equal(ValidationAttributeUtil.
GetRangeErrorMessage
(25, 50, "AccountId"), error.ErrorMessage);