fixed failing torznab test

This commit is contained in:
Taloth Saldono 2016-02-17 21:52:55 +01:00
parent 9ad8311dd6
commit 21c901eab4
2 changed files with 5 additions and 2 deletions

View File

@ -33,7 +33,7 @@ namespace NzbDrone.Core.Indexers.Newznab
{
return new NewznabRequestGenerator(_capabilitiesProvider)
{
PageSize = PageSize,
PageSize = PageSize,
Settings = Settings
};
}

View File

@ -25,7 +25,10 @@ namespace NzbDrone.Core.Indexers.Torznab
}
public override DownloadProtocol Protocol { get { return DownloadProtocol.Torrent; } }
public override int PageSize { get { return 100; } }
public override int PageSize
{
get { return _capabilitiesProvider.GetCapabilities(Settings).DefaultPageSize; }
}
public override IIndexerRequestGenerator GetRequestGenerator()
{