Skip to content

Commit

Permalink
Update latest test spec
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Jul 24, 2023
1 parent bb7cb09 commit aac9bbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Collection/SearchIndexFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

/**
* Functional tests for the Atlas Search index management.
*
* @see https://github.com/mongodb/specifications/blob/master/source/index-management/index-management.rst
*/
class SearchIndexFunctionalTest extends FunctionalTestCase
{
Expand Down Expand Up @@ -181,6 +183,10 @@ private function allIndexesAreQueryable(array $indexes): bool
if (! $index->queryable) {
return false;
}

if (! $index->status === 'READY') {
return false;
}
}

return true;
Expand Down

0 comments on commit aac9bbf

Please sign in to comment.