mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-30 19:56:54 +00:00
Fixed tests
This commit is contained in:
parent
74ff7803a9
commit
59a91040df
2 changed files with 4 additions and 8 deletions
|
@ -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…
Reference in a new issue