diff --git a/tests/e2e/Services/Databases/DatabasesConsoleClientTest.php b/tests/e2e/Services/Databases/DatabasesConsoleClientTest.php index 2ef8e4e635..0ea849496d 100644 --- a/tests/e2e/Services/Databases/DatabasesConsoleClientTest.php +++ b/tests/e2e/Services/Databases/DatabasesConsoleClientTest.php @@ -341,14 +341,8 @@ class DatabasesConsoleClientTest extends Scope '/databases/console/collections/' . $data['moviesId'] . '/documents', array_merge([ 'content-type' => 'application/json', - // 'x-appwrite-project' => $this->getProject()['$id'], 'x-appwrite-project' => 'console', - ], $this->getHeaders()), - [ - 'queries' => [ - Query::limit(1)->toString(), - ], - ] + ], $this->getHeaders()) ); var_dump($documents); diff --git a/tests/e2e/Services/Databases/DatabasesCustomClientTest.php b/tests/e2e/Services/Databases/DatabasesCustomClientTest.php index 0ac3875a55..2d90b4d479 100644 --- a/tests/e2e/Services/Databases/DatabasesCustomClientTest.php +++ b/tests/e2e/Services/Databases/DatabasesCustomClientTest.php @@ -88,19 +88,16 @@ class DatabasesCustomClientTest extends Scope $this->assertContains(Permission::delete(Role::user($this->getUser()['$id'])), $document1['body']['$permissions']); + /** + * Test console serviceStatusForDatabases is false + */ $documents = $this->client->call( Client::METHOD_GET, '/databases/console/collections/' . $moviesId . '/documents', array_merge([ 'content-type' => 'application/json', - // 'x-appwrite-project' => $this->getProject()['$id'], - 'x-appwrite-project' => 'console', - ], $this->getHeaders()), - [ - 'queries' => [ - Query::limit(1)->toString(), - ], - ] + 'x-appwrite-project' => 'console' + ], $this->getHeaders()) ); var_dump($documents);