diff --git a/NzbDrone.Core.Test/MetadataSourceTests/TraktProxyFixture.cs b/NzbDrone.Core.Test/MetadataSourceTests/TraktProxyFixture.cs index e485684a2..b1df6db29 100644 --- a/NzbDrone.Core.Test/MetadataSourceTests/TraktProxyFixture.cs +++ b/NzbDrone.Core.Test/MetadataSourceTests/TraktProxyFixture.cs @@ -88,13 +88,15 @@ private void ValidateEpisodes(List episodes) foreach (var episode in episodes) { ValidateEpisode(episode); + + //if atleast one episdoe has title it means parse it working. + episodes.Should().Contain(c => !string.IsNullOrWhiteSpace(c.Title)); } } private void ValidateEpisode(Episode episode) { episode.Should().NotBeNull(); - episode.Title.Should().NotBeBlank(); episode.EpisodeNumber.Should().NotBe(0); episode.TvDbEpisodeId.Should().BeGreaterThan(0);