From 5149c7cd1952ec0e00adcc4b01b93c892cffe2b8 Mon Sep 17 00:00:00 2001 From: dougbu Date: Tue, 10 Jun 2014 16:33:40 -0700 Subject: [PATCH] Get ModelBinding test project working on K10 again - restore `ClientRulesWithCompareAttribute_ErrorMessageUsesResourceOverride` since DataAnnotations has fixed underlying problem --- .../Validation/CompareAttributeTest.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/Microsoft.AspNet.Mvc.ModelBinding.Test/Validation/CompareAttributeTest.cs b/test/Microsoft.AspNet.Mvc.ModelBinding.Test/Validation/CompareAttributeTest.cs index 79c7f23eb0..43190e4a36 100644 --- a/test/Microsoft.AspNet.Mvc.ModelBinding.Test/Validation/CompareAttributeTest.cs +++ b/test/Microsoft.AspNet.Mvc.ModelBinding.Test/Validation/CompareAttributeTest.cs @@ -68,8 +68,6 @@ namespace Microsoft.AspNet.Mvc.ModelBinding Assert.Equal("Hello 'MyProperty', goodbye 'OtherProperty'.", rule.ErrorMessage); } - // Test currently fails under CoreCLR; DataAnnotations unable to find the resource. -#if NET45 [Fact] public void ClientRulesWithCompareAttribute_ErrorMessageUsesResourceOverride() { @@ -91,7 +89,6 @@ namespace Microsoft.AspNet.Mvc.ModelBinding var rule = Assert.Single(rules); Assert.Equal("Comparing MyProperty to OtherProperty.", rule.ErrorMessage); } -#endif private class PropertyDisplayNameModel {