Cleanup Conflicts in Sonarr/Lidarr Pulls

Co-Authored-By: Robin Dadswell <19610103+RobinDadswell@users.noreply.github.com>
This commit is contained in:
Qstick
2021-01-24 02:22:50 -05:00
parent ffc12656ee
commit 93ba5ade9e
298 changed files with 4460 additions and 4508 deletions
@@ -57,12 +57,12 @@ namespace NzbDrone.Core.Test.NotificationTests
TestLogger.Info("OnDownload was called");
}
public override void OnRename(Author artist)
public override void OnRename(Author author)
{
TestLogger.Info("OnRename was called");
}
public override void OnHealthIssue(NzbDrone.Core.HealthCheck.HealthCheck artist)
public override void OnHealthIssue(NzbDrone.Core.HealthCheck.HealthCheck author)
{
TestLogger.Info("OnHealthIssue was called");
}
@@ -14,21 +14,21 @@ namespace NzbDrone.Core.Test.NotificationTests
[TestFixture]
public class SynologyIndexerFixture : CoreTest<SynologyIndexer>
{
private Author _artist;
private Author _author;
private BookDownloadMessage _upgrade;
private string _rootPath = @"C:\Test\".AsOsAgnostic();
[SetUp]
public void SetUp()
{
_artist = new Author()
_author = new Author()
{
Path = _rootPath,
};
_upgrade = new BookDownloadMessage()
{
Author = _artist,
Author = _author,
BookFiles = new List<BookFile>
{
@@ -65,10 +65,10 @@ namespace NzbDrone.Core.Test.NotificationTests
{
(Subject.Definition.Settings as SynologyIndexerSettings).UpdateLibrary = false;
Subject.OnRename(_artist);
Subject.OnRename(_author);
Mocker.GetMock<ISynologyIndexerProxy>()
.Verify(v => v.UpdateFolder(_artist.Path), Times.Never());
.Verify(v => v.UpdateFolder(_author.Path), Times.Never());
}
[Test]
@@ -95,7 +95,7 @@ namespace NzbDrone.Core.Test.NotificationTests
[Test]
public void should_update_entire_series_folder_on_rename()
{
Subject.OnRename(_artist);
Subject.OnRename(_author);
Mocker.GetMock<ISynologyIndexerProxy>()
.Verify(v => v.UpdateFolder(@"C:\Test\".AsOsAgnostic()), Times.Once());