Remove invalid test for spatial order on MySQL

This commit is contained in:
Jake Barnby
2025-09-06 00:10:28 +12:00
parent 0ca53304b7
commit 3f7d05ca8f
@@ -7635,19 +7635,6 @@ trait DatabasesBase
]);
$this->assertEquals(202, $retriedIndex['headers']['status-code']);
// Passing orders to spatial index should not throw error(in case of mariadb)
$ordersIndex = $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/collections/' . $collectionId . '/indexes', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
'x-appwrite-key' => $this->getProject()['apiKey']
]), [
'key' => 'idx_required_point_with_orders',
'type' => Database::INDEX_SPATIAL,
'attributes' => ['pRequired'],
'orders' => ['ASC']
]);
$this->assertEquals(202, $ordersIndex['headers']['status-code']);
// Cleanup
$this->client->call(Client::METHOD_DELETE, '/databases/' . $databaseId . '/collections/' . $collectionId, array_merge([
'content-type' => 'application/json',