mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 07:22:35 +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" })
|
.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);
|
||||||
|
Loading…
Reference in New Issue
Block a user