Updated tests to allow for older versions of mediainfo
This commit is contained in:
parent
2b20b91ec5
commit
f9ec4c6b0d
|
@ -46,7 +46,7 @@ namespace NzbDrone.Core.Test.MediaFiles.MediaInfo
|
||||||
info.VideoProfile.Should().Be("Baseline@L2.1");
|
info.VideoProfile.Should().Be("Baseline@L2.1");
|
||||||
info.VideoCodecLibrary.Should().Be("");
|
info.VideoCodecLibrary.Should().Be("");
|
||||||
info.AudioFormat.Should().Be("AAC");
|
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.AudioProfile.Should().Be("LC");
|
||||||
info.AudioCodecLibrary.Should().Be("");
|
info.AudioCodecLibrary.Should().Be("");
|
||||||
info.AudioBitrate.Should().Be(128000);
|
info.AudioBitrate.Should().Be(128000);
|
||||||
|
@ -82,7 +82,7 @@ namespace NzbDrone.Core.Test.MediaFiles.MediaInfo
|
||||||
info.VideoProfile.Should().Be("Baseline@L2.1");
|
info.VideoProfile.Should().Be("Baseline@L2.1");
|
||||||
info.VideoCodecLibrary.Should().Be("");
|
info.VideoCodecLibrary.Should().Be("");
|
||||||
info.AudioFormat.Should().Be("AAC");
|
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.AudioProfile.Should().Be("LC");
|
||||||
info.AudioCodecLibrary.Should().Be("");
|
info.AudioCodecLibrary.Should().Be("");
|
||||||
info.AudioBitrate.Should().Be(128000);
|
info.AudioBitrate.Should().Be(128000);
|
||||||
|
|
Loading…
Reference in New Issue