Merge branch '1.8.x' into feat/migrate-di-container

This commit is contained in:
Chirag Aggarwal
2026-03-17 15:22:02 +05:30
committed by GitHub
+3 -11
View File
@@ -531,10 +531,7 @@ class UsageTest extends Scope
$attr = $this->client->call(
Client::METHOD_GET,
'/databases/' . $databaseId . '/collections/' . $collectionId . '/attributes/name',
array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id']
], $this->getHeaders())
$this->getConsoleHeaders()
);
$this->assertEquals(200, $attr['headers']['status-code']);
$this->assertEquals('available', $attr['body']['status']);
@@ -784,10 +781,7 @@ class UsageTest extends Scope
$attr = $this->client->call(
Client::METHOD_GET,
'/tablesdb/' . $databaseId . '/tables/' . $tableId . '/columns/name',
array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id']
], $this->getHeaders())
$this->getConsoleHeaders()
);
$this->assertEquals(200, $attr['headers']['status-code']);
$this->assertEquals('available', $attr['body']['status']);
@@ -1062,9 +1056,7 @@ class UsageTest extends Scope
$response = $this->client->call(
Client::METHOD_GET,
'/functions/' . $functionId . '/executions/' . $executionId,
array_merge([
'x-appwrite-project' => $this->getProject()['$id']
], $this->getHeaders()),
$this->getConsoleHeaders(),
);
$this->assertContains($response['body']['status'], ['completed', 'failed']);
}, 30_000, 500);