Fixed broken tests

pull/102/merge
Mark McDowall 10 years ago
parent 9f3bdaa1ce
commit 7d91b1bdb7

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

Loading…
Cancel
Save