Fixed: Run import identification even for unparsable releases

This commit is contained in:
ta264
2021-03-31 21:20:32 +01:00
parent f0742e3750
commit 3940d4aa28
5 changed files with 11 additions and 39 deletions
@@ -123,7 +123,7 @@ namespace NzbDrone.Core.Test.MediaFiles
}
[Test]
public void should_skip_if_no_author_found()
public void should_not_skip_if_no_author_found()
{
Mocker.GetMock<IParsingService>().Setup(c => c.GetAuthor("foldername")).Returns((Author)null);
@@ -131,9 +131,9 @@ namespace NzbDrone.Core.Test.MediaFiles
Mocker.GetMock<IMakeImportDecision>()
.Verify(c => c.GetImportDecisions(It.IsAny<List<IFileInfo>>(), It.IsAny<IdentificationOverrides>(), It.IsAny<ImportDecisionMakerInfo>(), It.IsAny<ImportDecisionMakerConfig>()),
Times.Never());
Times.Once());
VerifyNoImport();
VerifyImport();
}
[Test]