1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-25 22:37:27 -04:00

Update parser tests to be generic

closes #5889
This commit is contained in:
bakerboy448
2021-03-27 17:39:44 -05:00
committed by Qstick
parent 2a1b2187ba
commit e011614570
12 changed files with 454 additions and 506 deletions
@@ -89,13 +89,13 @@ namespace NzbDrone.Core.Test.ParserTests
success.Should().Be(repetitions);
}
[TestCase("thebiggestloser1618finale")]
[TestCase("thebiggestmovie1618finale")]
public void should_not_parse_file_name_without_proper_spacing(string fileName)
{
Parser.Parser.ParseMovieTitle(fileName).Should().BeNull();
}
[TestCase("Big Forest (S01E18) Complete 360p HDTV AAC H.264-NEXT")]
[TestCase("Big Movie (S01E18) Complete 360p HDTV AAC H.264-NEXT")]
public void should_not_parse_invalid_release_name(string fileName)
{
Parser.Parser.ParseMovieTitle(fileName).Should().BeNull();