|
|
|
@ -76,8 +76,8 @@ namespace NzbDrone.Core.Test.MetadataSource.Goodreads
|
|
|
|
|
ExceptionVerification.IgnoreWarns();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[TestCase("Robert Harris", 0, typeof(Author), "Robert Harris")]
|
|
|
|
|
[TestCase("Robert Harris", 1, typeof(Book), "An Officer and a Spy")]
|
|
|
|
|
[TestCase("Philip Pullman", 0, typeof(Author), "Philip Pullman")]
|
|
|
|
|
[TestCase("Philip Pullman", 1, typeof(Book), "The Golden Compass")]
|
|
|
|
|
public void successful_combined_search(string query, int position, Type resultType, string expected)
|
|
|
|
|
{
|
|
|
|
|
var result = Subject.SearchForNewEntity(query);
|
|
|
|
|