mirror of
https://github.com/Readarr/Readarr
synced 2026-01-07 16:13:05 +01:00
More test fixes
This commit is contained in:
parent
d3443510b4
commit
f09da06f80
2 changed files with 5 additions and 5 deletions
|
|
@ -41,7 +41,7 @@ public void Setup()
|
|||
}
|
||||
|
||||
[TestCase("Robert Harris", "Robert Harris")]
|
||||
[TestCase("James Patterson", "James Patterson")]
|
||||
[TestCase("Lyndsay Ely", "Lyndsay Ely")]
|
||||
[TestCase("Elisa Puricelli Guerra", "Elisa Puricelli Guerra")]
|
||||
public void successful_author_search(string title, string expected)
|
||||
{
|
||||
|
|
@ -54,7 +54,7 @@ public void successful_author_search(string title, string expected)
|
|||
ExceptionVerification.IgnoreWarns();
|
||||
}
|
||||
|
||||
[TestCase("Harry Potter and the sorcerer's stone", null, "Harry Potter and the Sorcerer's Stone")]
|
||||
[TestCase("Harry Potter and the sorcerer's stone", null, "Harry Potter and the Sorcerer's Stone (Harry Potter, Book 1): By J.K. Rowling | The Complete Summary & Analysis")]
|
||||
[TestCase("edition:3", null, "Harry Potter and the Sorcerer's Stone")]
|
||||
[TestCase("edition: 3", null, "Harry Potter and the Sorcerer's Stone")]
|
||||
[TestCase("asin:B0192CTMYG", null, "Harry Potter and the Sorcerer's Stone")]
|
||||
|
|
@ -86,7 +86,7 @@ public void no_author_search_result(string term)
|
|||
}
|
||||
|
||||
[TestCase("Catherine Butler", 0, typeof(Author), new[] { "Catherine Butler" }, TestName = "author")]
|
||||
[TestCase("Catherine Butler", 1, typeof(Book), new[] { "Shattered Dreams", "Shattered Dreams" }, TestName = "book")]
|
||||
[TestCase("Catherine Butler", 1, typeof(Book), new[] { "Twisted Winter", "Shattered Dreams" }, TestName = "book")]
|
||||
public void successful_combined_search(string query, int position, Type resultType, string[] expected)
|
||||
{
|
||||
var result = Subject.SearchForNewEntity(query);
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ public void Setup()
|
|||
}
|
||||
|
||||
[TestCase("Robert Harris", 575)]
|
||||
[TestCase("James Patterson", 3780)]
|
||||
[TestCase("Lyndsay Ely", 8056539)]
|
||||
[TestCase("Elisa Puricelli Guerra", 4481805)]
|
||||
public void successful_author_search(string title, int expected)
|
||||
{
|
||||
|
|
@ -38,7 +38,7 @@ public void successful_author_search(string title, int expected)
|
|||
ExceptionVerification.IgnoreWarns();
|
||||
}
|
||||
|
||||
[TestCase("Harry Potter and the sorcerer's stone", 61209488)]
|
||||
[TestCase("Harry Potter and the sorcerer's stone", 27425945)]
|
||||
[TestCase("B0192CTMYG", 61209488)]
|
||||
[TestCase("9780439554930", 48517161)]
|
||||
public void successful_book_search(string title, int expected)
|
||||
|
|
|
|||
Loading…
Reference in a new issue