From 04c1d3ca7f093a73b22d23c622a52cdf595d1a00 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 28 Feb 2023 16:40:52 +1300 Subject: [PATCH] Revert "Remove redundant test" This reverts commit b2fc7cc25adace9a323090b0b47acb54626c5150. --- tests/e2e/Services/Users/UsersBase.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/e2e/Services/Users/UsersBase.php b/tests/e2e/Services/Users/UsersBase.php index 416be18079..fde65e94ec 100644 --- a/tests/e2e/Services/Users/UsersBase.php +++ b/tests/e2e/Services/Users/UsersBase.php @@ -1080,6 +1080,15 @@ trait UsersBase $this->assertEquals($response['headers']['status-code'], 400); + $response = $this->client->call(Client::METHOD_GET, '/users/' . $data['userId'] . '/logs', array_merge([ + 'content-type' => 'application/json', + 'x-appwrite-project' => $this->getProject()['$id'], + ], $this->getHeaders()), [ + 'queries' => ['limit(101)'] + ]); + + $this->assertEquals($response['headers']['status-code'], 400); + $response = $this->client->call(Client::METHOD_GET, '/users/' . $data['userId'] . '/logs', array_merge([ 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'],