Updated tests to allow for older versions of mediainfo

pull/2334/head
Mark McDowall 7 years ago
parent 2b20b91ec5
commit f9ec4c6b0d
No known key found for this signature in database
GPG Key ID: D4CEFA9A718052E0

@ -46,7 +46,7 @@ namespace NzbDrone.Core.Test.MediaFiles.MediaInfo
info.VideoProfile.Should().Be("Baseline@L2.1");
info.VideoCodecLibrary.Should().Be("");
info.AudioFormat.Should().Be("AAC");
info.AudioCodecID.Should().Be("mp4a-40-2");
info.AudioCodecID.Should().BeOneOf("40", "mp4a-40-2");
info.AudioProfile.Should().Be("LC");
info.AudioCodecLibrary.Should().Be("");
info.AudioBitrate.Should().Be(128000);
@ -82,7 +82,7 @@ namespace NzbDrone.Core.Test.MediaFiles.MediaInfo
info.VideoProfile.Should().Be("Baseline@L2.1");
info.VideoCodecLibrary.Should().Be("");
info.AudioFormat.Should().Be("AAC");
info.AudioCodecID.Should().Be("mp4a-40-2");
info.AudioCodecID.Should().BeOneOf("40", "mp4a-40-2");
info.AudioProfile.Should().Be("LC");
info.AudioCodecLibrary.Should().Be("");
info.AudioBitrate.Should().Be(128000);

Loading…
Cancel
Save