1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

moved update url from db to nzbdrone.config

This commit is contained in:
kay.one
2013-07-29 19:12:16 -07:00
parent 87bbf2dc6a
commit 2dfebd2147
8 changed files with 14 additions and 74 deletions
@@ -10,11 +10,11 @@ namespace NzbDrone.Core.Test.UpdateTests
public class UpdatePackageProviderFixture : CoreTest<UpdatePackageProvider>
{
[Test]
public void should_get_list_of_avilable_updates()
public void should_get_list_of_available_updates()
{
UseRealHttp();
Mocker.GetMock<IConfigService>().SetupGet(c => c.UpdateUrl).Returns("http://update.nzbdrone.com/_release/");
Mocker.GetMock<IConfigFileProvider>().SetupGet(c => c.UpdateUrl).Returns("http://update.nzbdrone.com/_release/");
var updates = Subject.GetAvailablePackages().ToList();