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:
parent
0f6df5405b
commit
0e7dff9ca7
|
|
@ -37,6 +37,8 @@ namespace Microsoft.AspNet.Mvc.ModelBinding
|
||||||
}
|
}
|
||||||
|
|
||||||
// Default IValidatableObject adapter factory
|
// Default IValidatableObject adapter factory
|
||||||
|
|
||||||
|
#if NET45
|
||||||
[Fact]
|
[Fact]
|
||||||
public void IValidatableObjectGetsAValidator()
|
public void IValidatableObjectGetsAValidator()
|
||||||
{
|
{
|
||||||
|
|
@ -51,6 +53,7 @@ namespace Microsoft.AspNet.Mvc.ModelBinding
|
||||||
// Assert
|
// Assert
|
||||||
Assert.Single(validators);
|
Assert.Single(validators);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Integration with metadata system
|
// Integration with metadata system
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue