From 8fedf79c79b78ef4796fc59588596435dbae6b9b Mon Sep 17 00:00:00 2001 From: Erik Frantz Date: Sun, 30 Nov 2025 22:39:10 -0600 Subject: [PATCH] Adding in a test containing `Movie CollectionThe` without a collection for the movie --- src/NzbDrone.Core.Test/OrganizerTests/GetMovieFolderFixture.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NzbDrone.Core.Test/OrganizerTests/GetMovieFolderFixture.cs b/src/NzbDrone.Core.Test/OrganizerTests/GetMovieFolderFixture.cs index 75809ed7fe..04423c209b 100644 --- a/src/NzbDrone.Core.Test/OrganizerTests/GetMovieFolderFixture.cs +++ b/src/NzbDrone.Core.Test/OrganizerTests/GetMovieFolderFixture.cs @@ -37,6 +37,7 @@ public void should_use_movieFolderFormat_to_build_folder_name(string movieTitle, [TestCase("The Y-Women Collection", "The Y-Women 14", 2005, "{Movie CollectionThe}/{Movie TitleThe} ({Release Year})", "Y-Women Collection, The", "Y-Women 14, The (2005)")] [TestCase("A Decade of Changes", "The First Year", 1980, "{Movie CollectionThe}/{Movie TitleThe} ({Release Year})", "Decade of Changes, A", "First Year, The (1980)")] [TestCase(null, "Just a Movie", 1999, "{Movie Title} ({Release Year})", null, "Just a Movie (1999)")] + [TestCase(null, "Collectionless Slop", 1949, "{Movie CollectionThe}/{Movie TitleThe} ({Release Year})", null, "Collectionless Slop (1949)")] public void should_use_movieFolderFormat_and_CollectionFormat_to_build_folder_name(string collectionTitle, string movieTitle, int year, string format, string expectedCollection, string expectedTitle) { _namingConfig.MovieFolderFormat = format;