client->call(Client::METHOD_POST, '/vectorsdb', [ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], 'x-appwrite-key' => $this->getProject()['apiKey'], ], [ 'databaseId' => ID::custom('vectorsdb-probe'), 'name' => 'Probe', ]); self::$vectorsDBAvailable = $response['headers']['status-code'] < 500; if (self::$vectorsDBAvailable) { $this->client->call(Client::METHOD_DELETE, '/vectorsdb/vectorsdb-probe', [ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], 'x-appwrite-key' => $this->getProject()['apiKey'], ]); } } if (!self::$vectorsDBAvailable) { $this->markTestSkipped('VectorsDB backend (PostgreSQL) is not available in this CI environment.'); } } }