mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix tests
This commit is contained in:
@@ -11,7 +11,7 @@ trait SideClient
|
||||
'cookie' => 'a_session_' . $this->getProject()['$id'] . '=' . $this->getUser()['session'],
|
||||
|
||||
];
|
||||
if ($devKey) {
|
||||
if ($devKey && isset($this->getProject()['devKey'])) {
|
||||
$headers['x-appwrite-dev-key'] = $this->getProject()['devKey'];
|
||||
}
|
||||
return $headers;
|
||||
|
||||
@@ -126,7 +126,7 @@ trait ProjectsDevKeys
|
||||
|
||||
$devKey = $response['body']['secret'];
|
||||
|
||||
for ($i = 0; $i < 11; $i++) {
|
||||
for ($i = 0; $i < 10; $i++) {
|
||||
$res = $this->client->call(Client::METHOD_POST, '/account/sessions/email', [
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $id,
|
||||
|
||||
Reference in New Issue
Block a user