aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.XbmcMetadata.Tests
diff options
context:
space:
mode:
authorscampower3 <81431263+scampower3@users.noreply.github.com>2023-10-10 19:12:09 +0800
committerGitHub <noreply@github.com>2023-10-10 13:12:09 +0200
commit305405c9a1ac4a37ac9e8eda44899c33cf76eda3 (patch)
tree1dfb92be519fca9ca334f4c30474baf1083ed710 /tests/Jellyfin.XbmcMetadata.Tests
parentd5695efad9542c97080b8578379522ba12a1f824 (diff)
Combine Title and Overview for multi-episodes files for NFO file (#10080)
Diffstat (limited to 'tests/Jellyfin.XbmcMetadata.Tests')
-rw-r--r--tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs b/tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
index f63bc0e1b..c0d06116b 100644
--- a/tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
+++ b/tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Linq;
using System.Threading;
using Jellyfin.Data.Enums;
@@ -114,11 +114,11 @@ namespace Jellyfin.XbmcMetadata.Tests.Parsers
_parser.Fetch(result, "Test Data/Rising.nfo", CancellationToken.None);
var item = result.Item;
- Assert.Equal("Rising (1)", item.Name);
+ Assert.Equal("Rising (1) / Rising (2)", item.Name);
Assert.Equal(1, item.IndexNumber);
Assert.Equal(2, item.IndexNumberEnd);
Assert.Equal(1, item.ParentIndexNumber);
- Assert.Equal("A new Stargate team embarks on a dangerous mission to a distant galaxy, where they discover a mythical lost city -- and a deadly new enemy.", item.Overview);
+ Assert.Equal("A new Stargate team embarks on a dangerous mission to a distant galaxy, where they discover a mythical lost city -- and a deadly new enemy. / Sheppard tries to convince Weir to mount a rescue mission to free Colonel Sumner, Teyla, and the others captured by the Wraith.", item.Overview);
Assert.Equal(new DateTime(2004, 7, 16), item.PremiereDate);
Assert.Equal(2004, item.ProductionYear);
}