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

Co-authored-by: Bond-009 <bond.009@outlook.com>
pull/6912/head
Cody Robibero 3 years ago committed by GitHub
parent d707a201c9
commit 58f788e8ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save