Fixed broken tests

This commit is contained in:
Mark McDowall 2014-08-27 07:42:06 -07:00
parent 9f3bdaa1ce
commit 7d91b1bdb7
1 changed files with 1 additions and 1 deletions

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))
{