1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-20 21:55:03 -04:00

Fixed: Filter direct excluded subfolders of the selected directory during manual import

Fixes #4734

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick
2020-09-05 01:23:24 -04:00
parent e6368c3095
commit 16321377fc
10 changed files with 23 additions and 20 deletions
@@ -97,7 +97,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DiskScanProviderTests
var specialFiles = GetFiles(path, subFolder).ToList();
var allFiles = files.Concat(specialFiles);
var filteredFiles = Subject.FilterFiles(path, allFiles);
var filteredFiles = Subject.FilterPaths(path, allFiles);
filteredFiles.Should().NotContain(specialFiles);
filteredFiles.Count.Should().BeGreaterThan(0);
}