mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Cleanup Conflicts in Sonarr/Lidarr Pulls
Co-Authored-By: Robin Dadswell <19610103+RobinDadswell@users.noreply.github.com>
This commit is contained in:
@@ -283,13 +283,13 @@ namespace NzbDrone.Common.Test.Http
|
||||
{
|
||||
var file = GetTempFilePath();
|
||||
|
||||
var url = "https://lidarr.audio/img/slider/artistdetails.png";
|
||||
var url = "https://readarr.com/img/slider/artistdetails.png";
|
||||
|
||||
Subject.DownloadFile(url, file);
|
||||
|
||||
var fileInfo = new FileInfo(file);
|
||||
fileInfo.Exists.Should().BeTrue();
|
||||
fileInfo.Length.Should().Be(146122);
|
||||
fileInfo.Length.Should().Be(192367);
|
||||
}
|
||||
|
||||
[Test]
|
||||
@@ -298,7 +298,7 @@ namespace NzbDrone.Common.Test.Http
|
||||
var file = GetTempFilePath();
|
||||
|
||||
var request = new HttpRequestBuilder($"https://{_httpBinHost}/redirect-to")
|
||||
.AddQueryParam("url", $"https://lidarr.audio/img/slider/artistdetails.png")
|
||||
.AddQueryParam("url", $"https://readarr.com/img/slider/artistdetails.png")
|
||||
.Build();
|
||||
|
||||
Subject.DownloadFile(request.Url.FullUri, file);
|
||||
@@ -307,7 +307,7 @@ namespace NzbDrone.Common.Test.Http
|
||||
|
||||
var fileInfo = new FileInfo(file);
|
||||
fileInfo.Exists.Should().BeTrue();
|
||||
fileInfo.Length.Should().Be(146122);
|
||||
fileInfo.Length.Should().Be(192367);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in New Issue
Block a user