diff --git a/tests/Collection/SearchIndexFunctionalTest.php b/tests/Collection/SearchIndexFunctionalTest.php index 3f5b689ed..f9aa07b19 100644 --- a/tests/Collection/SearchIndexFunctionalTest.php +++ b/tests/Collection/SearchIndexFunctionalTest.php @@ -146,22 +146,6 @@ public function testDropSearchIndexSuppressNamespaceNotFoundError(): void $this->expectNotToPerformAssertions(); } - public function testCreateSearchIndexesWithEmptyList(): void - { - $collection = $this->createCollection($this->getDatabaseName(), $this->getCollectionName()); - $names = $collection->createSearchIndexes([]); - - $this->assertSame([], $names); - } - - public function testCreateSearchIndexWithDefaultName(): void - { - $collection = $this->createCollection($this->getDatabaseName(), $this->getCollectionName()); - $name = $collection->createSearchIndex(['mappings' => ['dynamic' => true]]); - - $this->assertSame('default', $name); - } - /** * Randomize the collection name to avoid duplicate index names when running tests concurrently. * Search index operations are asynchronous and can take up to 1 minute. @@ -197,10 +181,6 @@ private function allIndexesAreQueryable(array $indexes): bool if (! $index->queryable) { return false; } - - if ($index->status !== 'READY') { - return false; - } } return true;