Fix test error due to DryIOC update

This commit is contained in:
Qstick 2022-09-24 20:24:17 -05:00
parent ac3d4bee35
commit fb25422922
1 changed files with 5 additions and 0 deletions

View File

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