Fixed tests

pull/2/head
Mark McDowall 11 years ago
parent 74ff7803a9
commit 59a91040df

@ -1,10 +1,7 @@
 using System;
using System;
using System.IO; using System.IO;
using Moq; using Moq;
using NUnit.Framework; using NUnit.Framework;
using NzbDrone.Common;
using NzbDrone.Common.Disk; using NzbDrone.Common.Disk;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
using NzbDrone.Core.MediaFiles; using NzbDrone.Core.MediaFiles;
@ -66,6 +63,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RecycleBinProviderTests
[Test] [Test]
public void should_call_fileSetLastWriteTime_for_each_file() public void should_call_fileSetLastWriteTime_for_each_file()
{ {
WindowsOnly();
WithRecycleBin(); WithRecycleBin();
var path = @"C:\Test\TV\30 Rock".AsOsAgnostic(); var path = @"C:\Test\TV\30 Rock".AsOsAgnostic();

@ -1,9 +1,6 @@
 using System;
using System;
using Moq; using Moq;
using NUnit.Framework; using NUnit.Framework;
using NzbDrone.Common;
using NzbDrone.Common.Disk; using NzbDrone.Common.Disk;
using NzbDrone.Core.Configuration; using NzbDrone.Core.Configuration;
using NzbDrone.Core.MediaFiles; using NzbDrone.Core.MediaFiles;
@ -69,6 +66,7 @@ namespace NzbDrone.Core.Test.ProviderTests.RecycleBinProviderTests
[Test] [Test]
public void should_call_fileSetLastWriteTime_for_each_file() public void should_call_fileSetLastWriteTime_for_each_file()
{ {
WindowsOnly();
WithRecycleBin(); WithRecycleBin();
var path = @"C:\Test\TV\30 Rock\S01E01.avi".AsOsAgnostic(); var path = @"C:\Test\TV\30 Rock\S01E01.avi".AsOsAgnostic();

Loading…
Cancel
Save