mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
removed most of existing rss code
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Security.Policy;
|
||||
using System.Text;
|
||||
using Gallio.Framework;
|
||||
using MbUnit.Framework;
|
||||
using MbUnit.Framework.ContractVerifiers;
|
||||
using Moq;
|
||||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Providers;
|
||||
using NzbDrone.Core.Providers.Core;
|
||||
using Rss;
|
||||
|
||||
namespace NzbDrone.Core.Test
|
||||
{
|
||||
[TestFixture]
|
||||
public class RssProviderTest
|
||||
{
|
||||
[Test]
|
||||
public void GetFeed()
|
||||
{
|
||||
//Setup
|
||||
var feedInfo = new FeedInfoModel("NzbMatrix", @"Files\Feed.nzbmatrix.com.xml");
|
||||
var target = new RssProvider();
|
||||
|
||||
//Act
|
||||
var enumerable = target.GetFeed(feedInfo);
|
||||
var result = new List<RssItem>();
|
||||
result.AddRange(enumerable);
|
||||
|
||||
//Assert
|
||||
Assert.GreaterThan(result.Count, 1); //Assert that the number of Items in the feed is greater than 1
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user