mirror of https://github.com/Radarr/Radarr
Fix test error due to DryIOC update
This commit is contained in:
parent
ac3d4bee35
commit
fb25422922
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue