mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Test Search Fix
This commit is contained in:
parent
15187280d4
commit
9048a51674
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ object TestingUtils {
|
||||||
// Use the random 3 home page results as queries since they are guaranteed to exist
|
// Use the random 3 home page results as queries since they are guaranteed to exist
|
||||||
(homePageList.shuffled(Random).take(3).map { it.name.split(" ").first() } +
|
(homePageList.shuffled(Random).take(3).map { it.name.split(" ").first() } +
|
||||||
// If home page is sparse then use generic search queries
|
// If home page is sparse then use generic search queries
|
||||||
listOf("over", "iron", "guy")).take(4)
|
listOf("over", "iron", "guy")).take(3)
|
||||||
|
|
||||||
val searchResults = testSearch(api, searchQueries, logger)
|
val searchResults = testSearch(api, searchQueries, logger)
|
||||||
Assert.assertTrue("Failed to get search results", searchResults.success)
|
Assert.assertTrue("Failed to get search results", searchResults.success)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue