1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-22 07:42:28 +00:00

fixup! Improve default path for Synology Download Station

Fixes: Missing default path for Download Station
Fixes: Error when getting destination path for Synology Download Station in health check

(cherry picked from commit 18a846f4ad352009d1ce6ae3891096d380fa44e3)
This commit is contained in:
Mark McDowall 2021-08-01 13:25:34 -07:00 committed by servarr
parent 27c485581b
commit ddcae0173c
2 changed files with 2 additions and 2 deletions

View file

@ -427,7 +427,7 @@ public void Download_without_TvDirectory_and_Category_should_use_default()
id.Should().NotBeNullOrEmpty();
Mocker.GetMock<IDownloadStationTaskProxy>()
.Verify(v => v.AddTaskFromUrl(It.IsAny<string>(), null, It.IsAny<DownloadStationSettings>()), Times.Once());
.Verify(v => v.AddTaskFromUrl(It.IsAny<string>(), _defaultDestination, It.IsAny<DownloadStationSettings>()), Times.Once());
}
[Test]

View file

@ -304,7 +304,7 @@ public void Download_without_TvDirectory_and_Category_should_use_default()
id.Should().NotBeNullOrEmpty();
Mocker.GetMock<IDownloadStationTaskProxy>()
.Verify(v => v.AddTaskFromData(It.IsAny<byte[]>(), It.IsAny<string>(), null, It.IsAny<DownloadStationSettings>()), Times.Once());
.Verify(v => v.AddTaskFromData(It.IsAny<byte[]>(), It.IsAny<string>(), _defaultDestination, It.IsAny<DownloadStationSettings>()), Times.Once());
}
[Test]