Fixing up more unit tests - still a bunch more to do

This commit is contained in:
Shannon
2013-11-01 18:12:23 +11:00
parent b4176ca7df
commit 20c624915f
7 changed files with 19 additions and 12 deletions

View File

@@ -207,7 +207,7 @@ namespace Umbraco.Core
if (destinationType == typeof(Boolean))
return Attempt<object>.Succeed(false); // special case for booleans, null/empty == false
else if (destinationType == typeof(DateTime))
return Attempt<object>.Succeed(DateTime.MinValue);
return Attempt<object>.Succeed(false);
}
// we have a non-empty string, look for type conversions in the expected order of frequency of use...