Update tests/Jellyfin.MediaEncoding.Tests/Probing/ProbeResultNormalizerTests.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
Julien Machiels 2021-08-11 09:42:40 +02:00 committed by GitHub
parent 6c2cbafee0
commit 8d5b87025b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ namespace Jellyfin.MediaEncoding.Tests.Probing
} }
[Fact] [Fact]
public void GetMediaInfo_Music_Year_Only_Success() public void GetMediaInfo_GivenOriginalDateContainsOnlyYear_Success()
{ {
var bytes = File.ReadAllBytes("Test Data/Probing/music_year_only_metadata.json"); var bytes = File.ReadAllBytes("Test Data/Probing/music_year_only_metadata.json");
var internalMediaInfoResult = JsonSerializer.Deserialize<InternalMediaInfoResult>(bytes, _jsonOptions); var internalMediaInfoResult = JsonSerializer.Deserialize<InternalMediaInfoResult>(bytes, _jsonOptions);