Get CoreCLR test builds compiling again

- no Mock without .NET 4.5
- reverts part of "Reviving support for IValidatableObject in CoreCLR"
- that was commit 0f6df5405b.
This commit is contained in:
dougbu 2014-04-12 13:45:11 -07:00
parent 0f6df5405b
commit 0e7dff9ca7
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,8 @@ namespace Microsoft.AspNet.Mvc.ModelBinding
}
// Default IValidatableObject adapter factory
#if NET45
[Fact]
public void IValidatableObjectGetsAValidator()
{
@ -51,6 +53,7 @@ namespace Microsoft.AspNet.Mvc.ModelBinding
// Assert
Assert.Single(validators);
}
#endif
// Integration with metadata system