Bladeren bron

Update tests/Jellyfin.Server.Implementations.Tests/Library/PathExtensionsTests.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
Cody Robibero 3 jaren geleden
bovenliggende
commit
58f788e8ab
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      tests/Jellyfin.Server.Implementations.Tests/Library/PathExtensionsTests.cs

+ 1 - 0
tests/Jellyfin.Server.Implementations.Tests/Library/PathExtensionsTests.cs

@@ -22,6 +22,7 @@ namespace Jellyfin.Server.Implementations.Tests.Library
         [InlineData("tmdbid=618355", "tmdbid", null)]
         [InlineData("tmdbid=", "tmdbid", null)]
         [InlineData("tmdbid", "tmdbid", null)]
+        [InlineData("[tmdbid=][imdbid=tt10985510]", "tmdbid", null)]
         public void GetAttributeValue_ValidArgs_Correct(string input, string attribute, string? expectedResult)
         {
             Assert.Equal(expectedResult, PathExtensions.GetAttributeValue(input, attribute));