Address comments

pull/6358/head
MrTimscampi 3 years ago
parent 7e71c25059
commit 24083d2e38

@ -107,7 +107,7 @@ namespace Jellyfin.MediaEncoding.Tests.Probing
Assert.Equal(2020, res.ProductionYear);
Assert.True(res.PremiereDate.HasValue);
Assert.Equal(DateTime.Parse("2020-10-26T00:00Z", DateTimeFormatInfo.CurrentInfo).ToUniversalTime(), res.PremiereDate);
Assert.NotEmpty(res.People);
Assert.Equal(4, res.People.Length);
Assert.Equal("Krysta Youngs", res.People[0].Name);
Assert.Equal(PersonType.Composer, res.People[0].Type);
Assert.Equal("Julia Ross", res.People[1].Name);
@ -116,8 +116,11 @@ namespace Jellyfin.MediaEncoding.Tests.Probing
Assert.Equal(PersonType.Composer, res.People[2].Type);
Assert.Equal("Ji-hyo Park", res.People[3].Name);
Assert.Equal(PersonType.Lyricist, res.People[3].Type);
Assert.NotEmpty(res.Genres);
Assert.Equal(new string[] { "Electronic", "Trance", "Dance", "Jazz" }, res.Genres);
Assert.Equal(4, res.Genres.Length);
Assert.Contains("Electronic", res.Genres);
Assert.Contains("Trance", res.Genres);
Assert.Contains("Dance", res.Genres);
Assert.Contains("Jazz", res.Genres);
}
}
}

Loading…
Cancel
Save