Upgraded to MVC3, Hello Razor.

This commit is contained in:
kay.one 2011-03-29 23:18:35 -07:00
commit ff75d0c555
431 changed files with 10354 additions and 19744 deletions

View file

@ -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");