From f9ec4c6b0dbf3ad5a909709a532716e24ef7528a Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 6 Dec 2017 13:22:46 -0800 Subject: [PATCH] Updated tests to allow for older versions of mediainfo --- .../MediaFiles/MediaInfo/VideoFileInfoReaderFixture.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core.Test/MediaFiles/MediaInfo/VideoFileInfoReaderFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/MediaInfo/VideoFileInfoReaderFixture.cs index a199372f3..febeaf416 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/MediaInfo/VideoFileInfoReaderFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/MediaInfo/VideoFileInfoReaderFixture.cs @@ -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);