mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 16:06:24 +02:00
broke up EnvironmentProvider into different services
This commit is contained in:
@@ -4,6 +4,7 @@ using FluentAssertions;
|
||||
using Moq;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.EnvironmentInfo;
|
||||
using NzbDrone.Core.MediaCover;
|
||||
using NzbDrone.Core.Test.Framework;
|
||||
using System.Linq;
|
||||
@@ -16,9 +17,9 @@ namespace NzbDrone.Core.Test.MediaCoverTests
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
//Mocker.SetConstant(new HttpProvider(new EnvironmentProvider()));
|
||||
//Mocker.SetConstant(new HttpProvider(new IAppDirectoryInfo()));
|
||||
//Mocker.SetConstant(new DiskProvider());
|
||||
Mocker.SetConstant<IEnvironmentProvider>(new EnvironmentProvider());
|
||||
Mocker.SetConstant(new AppDirectoryInfo());
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user