Ensure Season Folder Format will correctly replace illegal characters

pull/3396/head
Mark McDowall 5 years ago
parent 42263a0ec0
commit 101df4cbf1

@ -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;

Loading…
Cancel
Save