fix database test
This commit is contained in:
parent
925dc4a169
commit
8d39ab8bcc
1 changed files with 2 additions and 3 deletions
|
@ -676,7 +676,7 @@ trait DatabaseBase
|
|||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], $this->getHeaders()), [
|
||||
'customId' => 'unique()',
|
||||
'documentId' => 'unique()',
|
||||
'data' => [
|
||||
'ip' => '1.1.1.1',
|
||||
],
|
||||
|
@ -712,6 +712,7 @@ trait DatabaseBase
|
|||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], $this->getHeaders()), [
|
||||
'documentId' => 'unique()',
|
||||
'data' => [
|
||||
'floatRange' => 1.4,
|
||||
],
|
||||
|
@ -743,8 +744,6 @@ trait DatabaseBase
|
|||
'write' => ['user:'.$this->getUser()['$id']],
|
||||
]);
|
||||
|
||||
// var_dump($notTooLow);
|
||||
|
||||
$this->assertEquals(201, $goodEmail['headers']['status-code']);
|
||||
$this->assertEquals(201, $goodIp['headers']['status-code']);
|
||||
$this->assertEquals(201, $goodUrl['headers']['status-code']);
|
||||
|
|
Loading…
Reference in a new issue