mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge branch '1.8.x' into feat/migrate-di-container
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user