1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

New: Auto tagging of series

Closes #3870
This commit is contained in:
Mark McDowall
2022-12-05 22:58:53 -08:00
committed by GitHub
parent 8eb941d590
commit 335fc05dd1
54 changed files with 2761 additions and 114 deletions
@@ -3,10 +3,10 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using FizzWare.NBuilder;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using NzbDrone.Common.Extensions;
using NzbDrone.Core.AutoTagging;
using NzbDrone.Core.Exceptions;
using NzbDrone.Core.MediaFiles;
using NzbDrone.Core.MetadataSource;
@@ -44,6 +44,10 @@ namespace NzbDrone.Core.Test.TvTests
Mocker.GetMock<IProvideSeriesInfo>()
.Setup(s => s.GetSeriesInfo(It.IsAny<int>()))
.Callback<int>(p => { throw new SeriesNotFoundException(p); });
Mocker.GetMock<IAutoTaggingService>()
.Setup(s => s.GetTagChanges(_series))
.Returns(new AutoTaggingChanges());
}
private void GivenNewSeriesInfo(Series series)