From e5edc8bbf7f7bca38c59a8f16f17deae4ad71184 Mon Sep 17 00:00:00 2001 From: ta264 Date: Mon, 25 Jul 2022 22:18:35 +0100 Subject: [PATCH] fixup! Update packages --- 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 378536c3e..a1eb60a46 100644 --- a/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs +++ b/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs @@ -109,6 +109,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) {