mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-29 23:12:39 +01:00
Clean movie references
This commit is contained in:
parent
93bd8543b1
commit
56bb87e55f
@ -96,11 +96,11 @@ namespace NzbDrone.Core.Test.MediaFiles.EpisodeImport.Aggregation.Aggregators.Au
|
||||
.With(m => m.AudioLanguages = new List<string> { "eng", "ger" })
|
||||
.Build();
|
||||
|
||||
var localMovie = Builder<LocalEpisode>.CreateNew()
|
||||
var localEpisode = Builder<LocalEpisode>.CreateNew()
|
||||
.With(l => l.MediaInfo = mediaInfo)
|
||||
.Build();
|
||||
|
||||
var result = Subject.AugmentLanguage(localMovie, null);
|
||||
var result = Subject.AugmentLanguage(localEpisode, null);
|
||||
|
||||
result.Languages.Count.Should().Be(2);
|
||||
result.Languages.Should().Contain(Core.Languages.Language.English);
|
||||
|
Loading…
Reference in New Issue
Block a user