Fix typo in test data filename

This commit is contained in:
Maxr1998 2021-04-05 21:31:06 +02:00
parent 07751768f4
commit a7c8bc632f
No known key found for this signature in database
GPG Key ID: ECECF0D4F4816C81
2 changed files with 2 additions and 2 deletions

View File

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