mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
First round of refactoring.
This commit is contained in:
parent
c98c679504
commit
20c8dec50a
117 changed files with 283 additions and 261 deletions
|
@ -155,7 +155,7 @@ namespace NzbDrone.Common.Test.Http
|
|||
|
||||
var userAgent = response.Resource.Headers["User-Agent"].ToString();
|
||||
|
||||
userAgent.Should().Contain("Sonarr");
|
||||
userAgent.Should().Contain("Lidarr");
|
||||
}
|
||||
|
||||
[TestCase("Accept", "text/xml, text/rss+xml, application/rss+xml")]
|
||||
|
@ -174,7 +174,7 @@ namespace NzbDrone.Common.Test.Http
|
|||
{
|
||||
var file = GetTempFilePath();
|
||||
|
||||
Assert.Throws<WebException>(() => Subject.DownloadFile("http://download.sonarr.tv/wrongpath", file));
|
||||
Assert.Throws<WebException>(() => Subject.DownloadFile("http://download.Lidarr.tv/wrongpath", file));
|
||||
|
||||
File.Exists(file).Should().BeFalse();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue