From fb25422922c375f0d707603cb5627fe572541cb7 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 c2fa32243..2459cb092 100644 --- a/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs +++ b/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs @@ -96,6 +96,11 @@ private IContainer CreateTestContainer(IContainer container) 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) {