Fix typo in test data filename

pull/5696/head
Maxr1998 4 years ago
parent 07751768f4
commit a7c8bc632f
No known key found for this signature in database
GPG Key ID: ECECF0D4F4816C81

@ -19,9 +19,9 @@ namespace Jellyfin.MediaEncoding.Tests.Probing
[Fact] [Fact]
public void GetMediaInfo_MetaData_Success() public void GetMediaInfo_MetaData_Success()
{ {
var bytes = File.ReadAllBytes("Test Data/Probing/some_matadata.json"); var bytes = File.ReadAllBytes("Test Data/Probing/video_metadata.json");
var internalMediaInfoResult = JsonSerializer.Deserialize<InternalMediaInfoResult>(bytes, _jsonOptions); var internalMediaInfoResult = JsonSerializer.Deserialize<InternalMediaInfoResult>(bytes, _jsonOptions);
MediaInfo res = _probeResultNormalizer.GetMediaInfo(internalMediaInfoResult, VideoType.VideoFile, false, "Test Data/Probing/some_matadata.mkv", MediaProtocol.File); MediaInfo res = _probeResultNormalizer.GetMediaInfo(internalMediaInfoResult, VideoType.VideoFile, false, "Test Data/Probing/video_metadata.mkv", MediaProtocol.File);
Assert.Single(res.MediaStreams); Assert.Single(res.MediaStreams);

Loading…
Cancel
Save