1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-26 16:13:19 +00:00

Add another test to ensure removal from directories

This commit is contained in:
Mark McDowall 2014-03-26 16:49:31 -07:00
parent 47624ef704
commit 30894429f3

View file

@ -106,7 +106,13 @@ public void should_not_include_system_files_and_folders()
{
Mocker.GetMock<IDiskProvider>()
.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>()
.Setup(s => s.GetAllSeries())