From b4fc4e88a5e29ae8a694b842598a7451da4f2c02 Mon Sep 17 00:00:00 2001 From: ta264 Date: Mon, 8 Jul 2019 21:31:58 +0100 Subject: [PATCH] Fixed: UseRealHttp following addition of MetadataRequestBuilder --- src/NzbDrone.Core.Test/Framework/CoreTest.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core.Test/Framework/CoreTest.cs b/src/NzbDrone.Core.Test/Framework/CoreTest.cs index 05cec3c73..72fecad2b 100644 --- a/src/NzbDrone.Core.Test/Framework/CoreTest.cs +++ b/src/NzbDrone.Core.Test/Framework/CoreTest.cs @@ -10,6 +10,7 @@ using NzbDrone.Test.Common; using NzbDrone.Common.Http.Proxy; using NzbDrone.Core.Http; using NzbDrone.Core.Configuration; +using NzbDrone.Core.MetadataSource; namespace NzbDrone.Core.Test.Framework { @@ -28,6 +29,7 @@ namespace NzbDrone.Core.Test.Framework Mocker.SetConstant(new HttpProvider(TestLogger)); Mocker.SetConstant(new HttpClient(new IHttpRequestInterceptor[0], Mocker.Resolve(), Mocker.Resolve(), Mocker.Resolve(), Mocker.Resolve(), TestLogger)); Mocker.SetConstant(new LidarrCloudRequestBuilder()); + Mocker.SetConstant(Mocker.Resolve()); } }