Fix test error due to DryIOC update

This commit is contained in:
Qstick
2022-09-24 20:24:17 -05:00
parent 59e5b5bd52
commit 99816bfd36

View File

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