From 101df4cbf13b9d63354339af106bdb352a21bf1c Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 30 Oct 2019 09:41:40 -0700 Subject: [PATCH] Ensure Season Folder Format will correctly replace illegal characters --- src/NzbDrone.Core.Test/OrganizerTests/GetSeasonFolderFixture.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NzbDrone.Core.Test/OrganizerTests/GetSeasonFolderFixture.cs b/src/NzbDrone.Core.Test/OrganizerTests/GetSeasonFolderFixture.cs index 796a0881f..0ddb369d0 100644 --- a/src/NzbDrone.Core.Test/OrganizerTests/GetSeasonFolderFixture.cs +++ b/src/NzbDrone.Core.Test/OrganizerTests/GetSeasonFolderFixture.cs @@ -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;