Get ModelBinding test project working on K10 again
- restore `ClientRulesWithCompareAttribute_ErrorMessageUsesResourceOverride` since DataAnnotations has fixed underlying problem
This commit is contained in:
parent
9bf6982168
commit
5149c7cd19
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue