Add another test to ensure removal from directories
This commit is contained in:
parent
47624ef704
commit
30894429f3
|
@ -106,7 +106,13 @@ namespace NzbDrone.Core.Test.RootFolderTests
|
||||||
{
|
{
|
||||||
Mocker.GetMock<IDiskProvider>()
|
Mocker.GetMock<IDiskProvider>()
|
||||||
.Setup(s => s.GetDirectories(It.IsAny<String>()))
|
.Setup(s => s.GetDirectories(It.IsAny<String>()))
|
||||||
.Returns(new string[] {@"C:\30 Rock".AsOsAgnostic(), @"C:\$Recycle.Bin".AsOsAgnostic(), @"C:\.AppleDouble".AsOsAgnostic()});
|
.Returns(new string[]
|
||||||
|
{
|
||||||
|
@"C:\30 Rock".AsOsAgnostic(),
|
||||||
|
@"C:\$Recycle.Bin".AsOsAgnostic(),
|
||||||
|
@"C:\.AppleDouble".AsOsAgnostic(),
|
||||||
|
@"C:\Test\.AppleDouble".AsOsAgnostic()
|
||||||
|
});
|
||||||
|
|
||||||
Mocker.GetMock<ISeriesService>()
|
Mocker.GetMock<ISeriesService>()
|
||||||
.Setup(s => s.GetAllSeries())
|
.Setup(s => s.GetAllSeries())
|
||||||
|
|
Loading…
Reference in New Issue