mirror of https://github.com/lidarr/Lidarr
Fixed RssParser test. (#80)
This commit is contained in:
parent
d4b4324dab
commit
c0e922e4a2
|
@ -287,9 +287,7 @@ namespace NzbDrone.Core.Test.IndexerTests.TorrentRssIndexerTests
|
||||||
|
|
||||||
var ex = Assert.Throws<UnsupportedFeedException>(() => Subject.Detect(_indexerSettings));
|
var ex = Assert.Throws<UnsupportedFeedException>(() => Subject.Detect(_indexerSettings));
|
||||||
|
|
||||||
ex.Message.Should().Contain("Empty feed");
|
ex.Message.Should().Contain("Rss feed must have a pubDate");
|
||||||
|
|
||||||
ExceptionVerification.ExpectedErrors(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[TestCase("Torrentleech/Torrentleech.xml")]
|
[TestCase("Torrentleech/Torrentleech.xml")]
|
||||||
|
|
Loading…
Reference in New Issue