From 6e1226bfe46f75c894dfc162dc77435f0dbef208 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Thu, 28 May 2015 14:57:50 -0700 Subject: [PATCH] Enable tests for #2470 This was very likely fixed as part of 22f1881cc641c390773783ba5a982e63a3b91464 --- .../DictionaryModelBinderIntegrationTest.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Microsoft.AspNet.Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs b/test/Microsoft.AspNet.Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs index 7b72180e14..bec4e95844 100644 --- a/test/Microsoft.AspNet.Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs +++ b/test/Microsoft.AspNet.Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs @@ -99,7 +99,7 @@ namespace Microsoft.AspNet.Mvc.IntegrationTests Assert.Equal("10", entry.Value.RawValue); } - [Fact(Skip = "IsValid == false because of #2470")] + [Fact] public async Task DictionaryModelBinder_BindsDictionaryOfSimpleType_EmptyPrefix_Success() { // Arrange @@ -129,7 +129,7 @@ namespace Microsoft.AspNet.Mvc.IntegrationTests Assert.Equal(2, modelState.Count); Assert.Equal(0, modelState.ErrorCount); - Assert.True(modelState.IsValid); // Fails due to #2470 + Assert.True(modelState.IsValid); var entry = Assert.Single(modelState, kvp => kvp.Key == "[0].Key").Value; Assert.Equal("key0", entry.Value.AttemptedValue); @@ -266,7 +266,7 @@ namespace Microsoft.AspNet.Mvc.IntegrationTests Assert.Equal("10", entry.Value.RawValue); } - [Fact(Skip = "IsValid == false because of #2470")] + [Fact] public async Task DictionaryModelBinder_BindsDictionaryOfComplexType_EmptyPrefix_Success() { // Arrange @@ -298,7 +298,7 @@ namespace Microsoft.AspNet.Mvc.IntegrationTests Assert.Equal(2, modelState.Count); Assert.Equal(0, modelState.ErrorCount); - Assert.True(modelState.IsValid); // Fails due to #2470 + Assert.True(modelState.IsValid); var entry = Assert.Single(modelState, kvp => kvp.Key == "[0].Key").Value; Assert.Equal("key0", entry.Value.AttemptedValue);