|
|
@ -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())
|
|
|
|