1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-05 13:21:25 -05:00

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

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