mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
Upgraded to MVC3, Hello Razor.
This commit is contained in:
parent
06b358e20f
commit
ff75d0c555
431 changed files with 10354 additions and 19744 deletions
|
@ -33,8 +33,8 @@ namespace NzbDrone.Core.Test
|
|||
config.Setup(c => c.GetValue("SabApiKey", String.Empty, false)).Returns(apikey);
|
||||
config.Setup(c => c.GetValue("SabUsername", String.Empty, false)).Returns(username);
|
||||
config.Setup(c => c.GetValue("SabPassword", String.Empty, false)).Returns(password);
|
||||
config.Setup(c => c.GetValue("SabPriority", String.Empty, false)).Returns(priority);
|
||||
config.Setup(c => c.GetValue("SabTvCategory", String.Empty, false)).Returns(category);
|
||||
config.Setup(c => c.GetValue("SabTvPriority", String.Empty, false)).Returns(priority);
|
||||
config.Setup(c => c.GetValue("SabTvCategory", String.Empty, true)).Returns(category);
|
||||
|
||||
var http = new Mock<IHttpProvider>();
|
||||
http.Setup(s => s.DownloadString("http://192.168.5.55:2222/api?mode=addurl&name=http://www.nzbclub.com/nzb_download.aspx?mid=1950232&priority=0&cat=tv&nzbname=This+is+an+Nzb&apikey=5c770e3197e4fe763423ee7c392c25d1&ma_username=admin&ma_password=pass")).Returns("ok");
|
||||
|
@ -66,8 +66,8 @@ namespace NzbDrone.Core.Test
|
|||
config.Setup(c => c.GetValue("SabApiKey", String.Empty, false)).Returns(apikey);
|
||||
config.Setup(c => c.GetValue("SabUsername", String.Empty, false)).Returns(username);
|
||||
config.Setup(c => c.GetValue("SabPassword", String.Empty, false)).Returns(password);
|
||||
config.Setup(c => c.GetValue("SabPriority", String.Empty, false)).Returns(priority);
|
||||
config.Setup(c => c.GetValue("SabTvCategory", String.Empty, false)).Returns(category);
|
||||
config.Setup(c => c.GetValue("SabTvPriority", String.Empty, false)).Returns(priority);
|
||||
config.Setup(c => c.GetValue("SabTvCategory", String.Empty, true)).Returns(category);
|
||||
|
||||
var http = new Mock<IHttpProvider>();
|
||||
http.Setup(s => s.DownloadString("http://192.168.5.55:2222/api?mode=addurl&name=http://www.nzbclub.com/nzb_download.aspx?mid=1950232&priority=0&cat=tv&nzbname=This+is+an+Nzb&apikey=5c770e3197e4fe763423ee7c392c25d1&ma_username=admin&ma_password=pass")).Returns("error");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue