Fixed most of the broken tests

This commit is contained in:
Mark McDowall
2013-02-04 20:07:07 -08:00
committed by kay.one
parent 34038245eb
commit 7ed148b12c
31 changed files with 293 additions and 297 deletions
@@ -70,9 +70,9 @@
<Reference Include="NLog">
<HintPath>..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll</HintPath>
</Reference>
<Reference Include="nunit.framework, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\NUnit.2.6.0.12054\lib\nunit.framework.dll</HintPath>
<HintPath>..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
-4
View File
@@ -12,7 +12,6 @@ namespace NzbDrone.Test.Common
{
protected const string INTEGRATION_TEST = "Integration Test";
private AutoMoqer _mocker;
protected AutoMoqer Mocker
{
@@ -29,7 +28,6 @@ namespace NzbDrone.Test.Common
protected Mock<RestProvider> MockedRestProvider { get; private set; }
private string VirtualPath
{
get
@@ -41,7 +39,6 @@ namespace NzbDrone.Test.Common
}
}
protected string TempFolder { get; private set; }
[SetUp]
@@ -83,7 +80,6 @@ namespace NzbDrone.Test.Common
_mocker = new AutoMoqer(MockBehavior.Strict);
}
protected void WithTempAsAppPath()
{
Mocker.GetMock<EnvironmentProvider>()
+1 -1
View File
@@ -3,6 +3,6 @@
<package id="CommonServiceLocator" version="1.0" />
<package id="Moq" version="4.0.10827" />
<package id="NLog" version="2.0.0.2000" />
<package id="NUnit" version="2.6.0.12054" />
<package id="NUnit" version="2.6.2" targetFramework="net40" />
<package id="Unity" version="2.1.505.2" targetFramework="net40" />
</packages>