1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed tests

This commit is contained in:
Mark McDowall 2014-08-21 19:28:17 -07:00
parent 74ff7803a9
commit 59a91040df
2 changed files with 4 additions and 8 deletions

View File

@ -1,10 +1,7 @@

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

View File

@ -1,9 +1,6 @@

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