1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-17 10:45:49 +02:00

Fix root folder unit test

This commit is contained in:
Mark McDowall 2020-06-13 15:21:03 -07:00
parent 0e6238bf6f
commit 680f80a833

View File

@ -132,7 +132,7 @@ public void should_get_root_folder_with_subfolders_excluding_special_sub_folders
.Setup(s => s.GetDirectories(rootFolder.Path))
.Returns(folders);
var unmappedFolders = Subject.Get(rootFolder.Id).UnmappedFolders;
var unmappedFolders = Subject.Get(rootFolder.Id, true).UnmappedFolders;
unmappedFolders.Count.Should().BeGreaterThan(0);
unmappedFolders.Should().NotContain(u => u.Name == subFolder);