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:
parent
27c485581b
commit
ddcae0173c
2 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue