mirror of
https://github.com/Readarr/Readarr
synced 2026-01-06 07:40:49 +01:00
Fix combined search tests
This commit is contained in:
parent
423a8ecbe1
commit
ad446b358e
1 changed files with 2 additions and 2 deletions
|
|
@ -85,8 +85,8 @@ public void no_author_search_result(string term)
|
|||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue