|
|
@ -85,8 +85,8 @@ namespace NzbDrone.Core.Test.MetadataSource.Goodreads
|
|
|
|
ExceptionVerification.IgnoreWarns();
|
|
|
|
ExceptionVerification.IgnoreWarns();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[TestCase("Catherine Butler", 0, typeof(Author), new[] { "Catherine Butler" }, TestName = "author")]
|
|
|
|
[TestCase("Roald Dahl", 0, typeof(Author), new[] { "Roald Dahl" }, TestName = "author")]
|
|
|
|
[TestCase("Catherine Butler", 1, typeof(Book), new[] { "Twisted Winter", "Shattered Dreams" }, TestName = "book")]
|
|
|
|
[TestCase("Roald Dahl", 1, typeof(Book), new[] { "Boy: Tales of Childhood" }, TestName = "book")]
|
|
|
|
public void successful_combined_search(string query, int position, Type resultType, string[] expected)
|
|
|
|
public void successful_combined_search(string query, int position, Type resultType, string[] expected)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var result = Subject.SearchForNewEntity(query);
|
|
|
|
var result = Subject.SearchForNewEntity(query);
|
|
|
|