Fix test error due to DryIOC update

pull/7702/head
Qstick 2 years ago
parent ac3d4bee35
commit fb25422922

@ -96,6 +96,11 @@ namespace NzbDrone.Test.Common.AutoMoq
return null; return null;
} }
if (serviceType == typeof(System.Text.Json.Serialization.JsonConverter))
{
return null;
}
// get the Mock object for the abstract class or interface // get the Mock object for the abstract class or interface
if (serviceType.IsInterface || serviceType.IsAbstract) if (serviceType.IsInterface || serviceType.IsAbstract)
{ {

Loading…
Cancel
Save