Ensure Season Folder Format will correctly replace illegal characters

This commit is contained in:
Mark McDowall 2019-10-30 09:41:40 -07:00
parent 42263a0ec0
commit 101df4cbf1
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ namespace NzbDrone.Core.Test.OrganizerTests
[TestCase("Venture Bros.", 1, "{Series.Title}.{season:00}", "Venture.Bros.01")]
[TestCase("Venture Bros.", 1, "{Series Title} Season {season:00}", "Venture Bros. Season 01")]
[TestCase("Series Title?", 1, "{Series Title} Season {season:00}", "Series Title! Season 01")]
public void should_use_seriesFolderFormat_to_build_folder_name(string seriesTitle, int seasonNumber, string format, string expected)
{
namingConfig.SeasonFolderFormat = format;