From 326fe53ca8fd0320cc4ddddc924e0b597796b9fa Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 12 Aug 2025 13:31:22 +0000 Subject: [PATCH] Remove test for multiple select queries in UsersBase trait Co-authored-by: jakeb994 --- tests/e2e/Services/Users/UsersBase.php | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/tests/e2e/Services/Users/UsersBase.php b/tests/e2e/Services/Users/UsersBase.php index 7a09116df4..7c15eda2e5 100644 --- a/tests/e2e/Services/Users/UsersBase.php +++ b/tests/e2e/Services/Users/UsersBase.php @@ -2000,31 +2000,6 @@ trait UsersBase $this->assertArrayHasKey('name', $user); $this->assertArrayNotHasKey('email', $user); - /** - * Test Query::select with multiple select queries (should be consolidated) - */ - $response = $this->client->call(Client::METHOD_GET, '/users', array_merge([ - 'content-type' => 'application/json', - 'x-appwrite-project' => $this->getProject()['$id'], - ], $this->getHeaders()), [ - 'queries' => [ - Query::select(['$id', 'name'])->toString(), - Query::select(['email', 'status'])->toString() - ] - ]); - - $this->assertEquals($response['headers']['status-code'], 200); - $this->assertNotEmpty($response['body']); - $this->assertNotEmpty($response['body']['users']); - - $user = $response['body']['users'][0]; - // All attributes from both select queries should be present - $this->assertArrayHasKey('$id', $user); - $this->assertArrayHasKey('name', $user); - $this->assertArrayHasKey('email', $user); - $this->assertArrayHasKey('status', $user); - $this->assertArrayNotHasKey('registration', $user); - /** * Test Query::select with targets (should not be skipped by default) */