1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

lint issues

This commit is contained in:
Prateek Banga 2023-07-13 23:17:31 +05:30 committed by prateek banga
parent b8b3d13f22
commit 21bc2ae560

View file

@ -404,13 +404,13 @@ class DatabasesCustomClientTest extends Scope
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
'x-appwrite-key' => $this->getProject()['apiKey']
]), [
]), [
'key' => "Rating",
'size' => 100,
'required' => false,
'array' => false,
'default' => null,
]);
]);
\sleep(3);
@ -448,7 +448,7 @@ class DatabasesCustomClientTest extends Scope
// Update document
// This is the point of this test. We should be allowed to do this action, and it should not fail on permission check
$response = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' .$collection1['body']['$id']. '/documents/' .$parentDocument['body']['$id'], array_merge([
$response = $this->client->call(Client::METHOD_PATCH, '/databases/' . $databaseId . '/collections/' . $collection1['body']['$id'] . '/documents/' . $parentDocument['body']['$id'], array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
@ -458,6 +458,5 @@ class DatabasesCustomClientTest extends Scope
]);
$this->assertEquals(200, $response['headers']['status-code']);
}
}