Clean movie references

This commit is contained in:
Qstick 2022-09-17 21:20:58 -05:00
parent 93bd8543b1
commit 56bb87e55f
1 changed files with 2 additions and 2 deletions

View File

@ -96,11 +96,11 @@ namespace NzbDrone.Core.Test.MediaFiles.EpisodeImport.Aggregation.Aggregators.Au
.With(m => m.AudioLanguages = new List<string> { "eng", "ger" }) .With(m => m.AudioLanguages = new List<string> { "eng", "ger" })
.Build(); .Build();
var localMovie = Builder<LocalEpisode>.CreateNew() var localEpisode = Builder<LocalEpisode>.CreateNew()
.With(l => l.MediaInfo = mediaInfo) .With(l => l.MediaInfo = mediaInfo)
.Build(); .Build();
var result = Subject.AugmentLanguage(localMovie, null); var result = Subject.AugmentLanguage(localEpisode, null);
result.Languages.Count.Should().Be(2); result.Languages.Count.Should().Be(2);
result.Languages.Should().Contain(Core.Languages.Language.English); result.Languages.Should().Contain(Core.Languages.Language.English);