Update tables test

This commit is contained in:
Jake Barnby
2025-07-21 21:26:08 +12:00
parent 1aea95c6a9
commit 75bd0dc55b
@@ -1384,7 +1384,7 @@ trait DatabasesBase
'columns' => ['integers'], // array attribute
'orders' => ['DESC'], // Check order is removed in API
]);
$this->assertEquals(202, $index1['headers']['status-code']);
$this->assertEquals(400, $index1['headers']['status-code']);
$index2 = $this->client->call(Client::METHOD_POST, '/databases/' . $databaseId . '/tables/' . $data['moviesId'] . '/indexes', array_merge([
'content-type' => 'application/json',
@@ -1395,7 +1395,7 @@ trait DatabasesBase
'type' => 'key',
'columns' => ['integers'], // array attribute
]);
$this->assertEquals(202, $index2['headers']['status-code']);
$this->assertEquals(400, $index2['headers']['status-code']);
/**
* Create Indexes by worker