fix tests
This commit is contained in:
parent
4f031a0d03
commit
59c4a27c1b
|
@ -735,6 +735,7 @@ trait DatabaseBase
|
||||||
'content-type' => 'application/json',
|
'content-type' => 'application/json',
|
||||||
'x-appwrite-project' => $this->getProject()['$id'],
|
'x-appwrite-project' => $this->getProject()['$id'],
|
||||||
], $this->getHeaders()), [
|
], $this->getHeaders()), [
|
||||||
|
'documentId' => 'unique()',
|
||||||
'data' => [
|
'data' => [
|
||||||
'lowerBound' => 8,
|
'lowerBound' => 8,
|
||||||
],
|
],
|
||||||
|
|
|
@ -320,7 +320,7 @@ class ProjectsConsoleClientTest extends Scope
|
||||||
'content-type' => 'application/json',
|
'content-type' => 'application/json',
|
||||||
'x-appwrite-project' => $id,
|
'x-appwrite-project' => $id,
|
||||||
]), [
|
]), [
|
||||||
'userIdId' => 'unique()',
|
'userId' => 'unique()',
|
||||||
'email' => $originalEmail,
|
'email' => $originalEmail,
|
||||||
'password' => $originalPassword,
|
'password' => $originalPassword,
|
||||||
'name' => $originalName,
|
'name' => $originalName,
|
||||||
|
@ -489,7 +489,7 @@ class ProjectsConsoleClientTest extends Scope
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->assertEquals($response['headers']['status-code'], 501);
|
$this->assertEquals($response['headers']['status-code'], 201);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test for FAILURE
|
* Test for FAILURE
|
||||||
|
|
Loading…
Reference in a new issue