diff --git a/tests/e2e/Services/Database/DatabaseBase.php b/tests/e2e/Services/Database/DatabaseBase.php index f9e796eb9..ab6b08120 100644 --- a/tests/e2e/Services/Database/DatabaseBase.php +++ b/tests/e2e/Services/Database/DatabaseBase.php @@ -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']);