mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
moved update url from db to nzbdrone.config
This commit is contained in:
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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue