mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Fixed tests
This commit is contained in:
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 @@ public void should_call_directorySetLastWriteTime()
|
|||||||
[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 @@ public void should_use_alternative_name_if_already_exists()
|
|||||||
[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 New Issue
Block a user