Make the test input a bit more reasonable (#11067)

This commit is contained in:
Pranav K 2019-06-11 09:29:38 -07:00 committed by GitHub
parent 147f5afb1e
commit 1ffc2351b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -344,14 +344,13 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding.Binders
[Theory]
[MemberData(nameof(ConvertibleTypeData))]
[Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/2626", FlakyOn.AzP.Linux)]
public async Task BindModel_ReturnsModel_IfAttemptedValueIsValid_FrenchThirtyTwoThousandPointOne(Type destinationType)
{
// Arrange
var bindingContext = GetBindingContext(destinationType);
bindingContext.ValueProvider = new SimpleValueProvider(new CultureInfo("fr-FR"))
{
{ "theModelName", "32 000,1" }
{ "theModelName", "32000,1" }
};
var binder = GetBinder();