mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-26 22:46:53 -04:00
@@ -382,6 +382,24 @@ namespace NzbDrone.Core.Test.MediaFiles.DiskScanServiceTests
|
||||
.Verify(v => v.GetImportDecisions(It.Is<List<string>>(l => l.Count == 2), _movie), Times.Once());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_exclude_inline_extra_files()
|
||||
{
|
||||
GivenMovieFolder();
|
||||
|
||||
GivenFiles(new List<string>
|
||||
{
|
||||
Path.Combine(_movie.Path, "Avatar (2009).mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "Deleted Scenes-deleted.mkv").AsOsAgnostic(),
|
||||
Path.Combine(_movie.Path, "The World of Pandora-other.mkv").AsOsAgnostic()
|
||||
});
|
||||
|
||||
Subject.Scan(_movie);
|
||||
|
||||
Mocker.GetMock<IMakeImportDecision>()
|
||||
.Verify(v => v.GetImportDecisions(It.Is<List<string>>(l => l.Count == 1), _movie), Times.Once());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_exclude_osx_metadata_files()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user