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

chore: run linter

This commit is contained in:
Christy Jacob 2023-10-18 19:50:40 +04:00
parent 2a201a9d1c
commit 5f9059e221

View file

@ -347,7 +347,7 @@ class RealtimeConsoleClientTest extends Scope
* Test Delete Index
*/
$indexKey = 'key_name';
$attribute = $this->client->call(Client::METHOD_DELETE, '/databases/' . $databaseId . '/collections/' . $actorsId . '/indexes/' . $indexKey , array_merge([
$attribute = $this->client->call(Client::METHOD_DELETE, '/databases/' . $databaseId . '/collections/' . $actorsId . '/indexes/' . $indexKey, array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()));
@ -370,7 +370,7 @@ class RealtimeConsoleClientTest extends Scope
$this->assertContains("databases.{$databaseId}.collections.*", $response['data']['events']);
$this->assertNotEmpty($response['data']['payload']);
/** Delete index generates two events 1 from the API and one from the Worker */
/** Delete index generates two events. One from the API and one from the database worker */
$response = json_decode($client->receive(), true);
$this->assertArrayHasKey('type', $response);
$this->assertArrayHasKey('data', $response);