Ensure auto-generated mocks are also registered in the test container.

This commit is contained in:
Taloth Saldono
2016-02-14 16:26:52 +01:00
parent 7818f0c59b
commit b99d82cccc
2 changed files with 2 additions and 2 deletions
@@ -23,8 +23,6 @@ namespace NzbDrone.Core.Test.IndexerTests.TorrentRssIndexerTests
[SetUp]
public void Setup()
{
Mocker.SetConstant<IHttpClient>(Mocker.GetMock<IHttpClient>().Object);
Mocker.SetConstant<ICacheManager>(Mocker.Resolve<CacheManager>());
Mocker.SetConstant<ITorrentRssSettingsDetector>(Mocker.Resolve<TorrentRssSettingsDetector>());
Mocker.SetConstant<ITorrentRssParserFactory>(Mocker.Resolve<TorrentRssParserFactory>());