Ensure Season Folder Format will correctly replace illegal characters
This commit is contained in:
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…
Reference in New Issue