Fixed broken tests

This commit is contained in:
Mark McDowall 2014-08-27 07:42:06 -07:00
commit 7d91b1bdb7

View file

@ -66,7 +66,7 @@ namespace NzbDrone.Api.Mapping
dynamic lazy = conventionInfo.SourceProp.Value;
if (lazy.IsLoaded)
if (lazy.IsLoaded && lazy.Value != null)
{
if (conventionInfo.TargetProp.Type.IsAssignableFrom(sourceArgument))
{