From 99816bfd36b19510c9fc103adcfa5ee7cf29525d Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 24 Sep 2022 20:24:17 -0500 Subject: [PATCH] Fix test error due to DryIOC update --- src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs b/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs index 7414a407a..945dd3aae 100644 --- a/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs +++ b/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs @@ -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) {