diff --git a/test/Microsoft.AspNet.Mvc.ModelBinding.Test/Binders/TypeConverterModelBinderTest.cs b/test/Microsoft.AspNet.Mvc.ModelBinding.Test/Binders/TypeConverterModelBinderTest.cs index 7c16625922..d8910b277c 100644 --- a/test/Microsoft.AspNet.Mvc.ModelBinding.Test/Binders/TypeConverterModelBinderTest.cs +++ b/test/Microsoft.AspNet.Mvc.ModelBinding.Test/Binders/TypeConverterModelBinderTest.cs @@ -44,6 +44,13 @@ namespace Microsoft.AspNet.Mvc.ModelBinding.Test [InlineData(typeof(DayOfWeek))] public async Task BindModel_ReturnsTrue_IfTypeCanBeConverted(Type destinationType) { + if (TestPlatformHelper.IsMono && + destinationType == typeof(DateTimeOffset)) + { + // DateTimeOffset doesn't have a TypeConverter in Mono + return; + } + // Arrange var bindingContext = GetBindingContext(destinationType); bindingContext.ValueProvider = new SimpleHttpValueProvider