1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Fixed trakt searching, cleaned up indexer/notification modules

This commit is contained in:
Mark McDowall
2013-05-29 20:26:47 -07:00
parent 9181b1bb91
commit f21a235c00
7 changed files with 35 additions and 25 deletions
@@ -11,16 +11,18 @@ namespace NzbDrone.Core.Test.MetadataSourceTests
[TestFixture]
public class TraktProxyFixture : CoreTest<TraktProxy>
{
[TestCase("The Simpsons")]
[TestCase("South Park")]
[TestCase("Franklin & Bash")]
public void successful_search(string title)
[TestCase("The Simpsons", "The Simpsons")]
[TestCase("South Park", "South Park")]
[TestCase("Franklin & Bash", "Franklin & Bash")]
[TestCase("Mr. D", "Mr. D")]
[TestCase("Rob & Big", "Rob and Big")]
public void successful_search(string title, string expected)
{
var result = Subject.SearchForNewSeries(title);
result.Should().NotBeEmpty();
result[0].Title.Should().Be(title);
result[0].Title.Should().Be(expected);
}