mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
Fix combined search tests
This commit is contained in:
@@ -85,8 +85,8 @@ namespace NzbDrone.Core.Test.MetadataSource.Goodreads
|
||||
ExceptionVerification.IgnoreWarns();
|
||||
}
|
||||
|
||||
[TestCase("Catherine Butler", 0, typeof(Author), new[] { "Catherine Butler" }, TestName = "author")]
|
||||
[TestCase("Catherine Butler", 1, typeof(Book), new[] { "Twisted Winter", "Shattered Dreams" }, TestName = "book")]
|
||||
[TestCase("Roald Dahl", 0, typeof(Author), new[] { "Roald Dahl" }, TestName = "author")]
|
||||
[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)
|
||||
{
|
||||
var result = Subject.SearchForNewEntity(query);
|
||||
|
||||
Reference in New Issue
Block a user