client->call(Client::METHOD_GET, '/account', array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], 'x-appwrite-mode' => 'admin', ], $this->getHeaders())); $this->assertEquals(400, $response['headers']['status-code']); $this->assertEquals(Exception::GENERAL_BAD_REQUEST, $response['body']['type']); } }