mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Remove invalid test for spatial order on MySQL
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user