1
0
Fork 0
mirror of synced 2024-06-18 18:54:55 +12:00

fix tests

This commit is contained in:
Damodar Lohani 2021-08-05 13:54:06 +05:45
parent 4f031a0d03
commit 59c4a27c1b
2 changed files with 3 additions and 2 deletions

View file

@ -735,6 +735,7 @@ trait DatabaseBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'documentId' => 'unique()',
'data' => [
'lowerBound' => 8,
],

View file

@ -320,7 +320,7 @@ class ProjectsConsoleClientTest extends Scope
'content-type' => 'application/json',
'x-appwrite-project' => $id,
]), [
'userIdId' => 'unique()',
'userId' => 'unique()',
'email' => $originalEmail,
'password' => $originalPassword,
'name' => $originalName,
@ -489,7 +489,7 @@ class ProjectsConsoleClientTest extends Scope
'name' => $name,
]);
$this->assertEquals($response['headers']['status-code'], 501);
$this->assertEquals($response['headers']['status-code'], 201);
/**
* Test for FAILURE