From e045b6fc8fb6f230776ccc65392ea36667e8ef3c Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 12 Nov 2013 22:39:15 -0800 Subject: [PATCH] Added lost+found to SpecialFolders list --- .../RootFolderTests/RootFolderServiceFixture.cs | 1 + src/NzbDrone.Core/RootFolders/RootFolderService.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core.Test/RootFolderTests/RootFolderServiceFixture.cs b/src/NzbDrone.Core.Test/RootFolderTests/RootFolderServiceFixture.cs index 6ffbfde6c..f2dbac44a 100644 --- a/src/NzbDrone.Core.Test/RootFolderTests/RootFolderServiceFixture.cs +++ b/src/NzbDrone.Core.Test/RootFolderTests/RootFolderServiceFixture.cs @@ -63,6 +63,7 @@ namespace NzbDrone.Core.Test.RootFolderTests Mocker.GetMock>().Verify(c => c.Delete(1), Times.Once()); } + [Test] public void None_existing_folder_returns_empty_list() { WithNoneExistingFolder(); diff --git a/src/NzbDrone.Core/RootFolders/RootFolderService.cs b/src/NzbDrone.Core/RootFolders/RootFolderService.cs index 9e441d91d..c507b9ef6 100644 --- a/src/NzbDrone.Core/RootFolders/RootFolderService.cs +++ b/src/NzbDrone.Core/RootFolders/RootFolderService.cs @@ -30,7 +30,7 @@ namespace NzbDrone.Core.RootFolders private readonly ISeriesRepository _seriesRepository; private readonly IConfigService _configService; - private static readonly HashSet SpecialFolders = new HashSet { "$recycle.bin", "system volume information", "recycler" }; + private static readonly HashSet SpecialFolders = new HashSet { "$recycle.bin", "system volume information", "recycler", "lost+found" }; public RootFolderService(IBasicRepository rootFolderRepository,