This commit is contained in:
Damodar Lohani 2024-12-04 06:02:21 +00:00
parent cb1aff42c5
commit f21281ebf5

View file

@ -255,14 +255,14 @@ trait ProjectsDevKeys
'password' => 'password'
]);
$this->assertEquals(429, $res['headers']['status-code']);
$response = $this->client->call(Client::METHOD_GET, '/projects/' . $id . '/development-keys/' . $keyId, array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), []);
$this->assertEquals(404, $response['headers']['status-code']);
/**
* Test for FAILURE