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:
parent
47624ef704
commit
30894429f3
1 changed files with 7 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue