fixed indexer integration tests.

This commit is contained in:
kayone 2013-09-24 17:12:45 -07:00
parent e8b2d1fda0
commit 7b14d09976
1 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@ using NzbDrone.Core.Indexers.Wombles;
using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Parser.Model;
using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Test.Framework;
using NUnit.Framework; using NUnit.Framework;
using NzbDrone.Core.ThingiProvider;
using NzbDrone.Test.Common.Categories; using NzbDrone.Test.Common.Categories;
using System.Linq; using System.Linq;
@ -27,6 +28,12 @@ namespace NzbDrone.Core.Test.IndexerTests.IntegrationTests
{ {
var indexer = new Wombles(); var indexer = new Wombles();
indexer.Definition = new IndexerDefinition
{
Name = "Wombles",
Settings = NullConfig.Instance
};
var result = Subject.FetchRss(indexer); var result = Subject.FetchRss(indexer);
ValidateResult(result, skipSize: true, skipInfo: true); ValidateResult(result, skipSize: true, skipInfo: true);
@ -37,6 +44,11 @@ namespace NzbDrone.Core.Test.IndexerTests.IntegrationTests
public void extv_rss() public void extv_rss()
{ {
var indexer = new Eztv(); var indexer = new Eztv();
indexer.Definition = new IndexerDefinition
{
Name = "Eztv",
Settings = NullConfig.Instance
};
var result = Subject.FetchRss(indexer); var result = Subject.FetchRss(indexer);