mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed an issue when trying to import files
This commit is contained in:
parent
389201a9eb
commit
e8238fb03a
5 changed files with 12 additions and 20 deletions
|
@ -150,18 +150,5 @@ namespace NzbDrone.Core.Test.MediaFileTests.EpisodeImportTests
|
|||
|
||||
ExceptionVerification.ExpectedErrors(3);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_use_filename_without_extension_when_getting_episodes_from_ParsingService()
|
||||
{
|
||||
var expectedFilename = Path.GetFileNameWithoutExtension(_videoFiles.First());
|
||||
|
||||
GivenSpecifications(_pass1, _pass2, _pass3);
|
||||
|
||||
Subject.GetImportDecisions(_videoFiles, _series);
|
||||
|
||||
Mocker.GetMock<IParsingService>().Verify(v => v.GetEpisodes(expectedFilename, _series), Times.Once());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue