From 93c25e87d5b302a40ad9877ca2821e14482e8155 Mon Sep 17 00:00:00 2001 From: fogelito Date: Wed, 15 Feb 2023 13:36:30 +0200 Subject: [PATCH] tests updates --- composer.json | 2 +- composer.lock | 14 +++++++------- tests/e2e/Services/Databases/DatabasesBase.php | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 735450e915..24d8b83103 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "utopia-php/database": "dev-timeout as 0.30.0", "utopia-php/preloader": "0.2.*", "utopia-php/domains": "1.1.*", - "utopia-php/framework": "0.26.*", + "utopia-php/framework": "0.27.*", "utopia-php/image": "0.5.*", "utopia-php/locale": "0.4.*", "utopia-php/logger": "0.3.*", diff --git a/composer.lock b/composer.lock index c5a44947af..1cda822bee 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8f43a8fff9185bb1ecf71bd4d725cbee", + "content-hash": "e8d43b1f00fb921efd94985fe9d11435", "packages": [ { "name": "adhocore/jwt", @@ -2223,16 +2223,16 @@ }, { "name": "utopia-php/framework", - "version": "0.26.0", + "version": "0.27.0", "source": { "type": "git", "url": "https://github.com/utopia-php/framework.git", - "reference": "e8da5576370366d3bf9c574ec855f8c96fe4f34e" + "reference": "b8d0447f5c98291d7759db05460ecced29a0f9ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/framework/zipball/e8da5576370366d3bf9c574ec855f8c96fe4f34e", - "reference": "e8da5576370366d3bf9c574ec855f8c96fe4f34e", + "url": "https://api.github.com/repos/utopia-php/framework/zipball/b8d0447f5c98291d7759db05460ecced29a0f9ee", + "reference": "b8d0447f5c98291d7759db05460ecced29a0f9ee", "shasum": "" }, "require": { @@ -2261,9 +2261,9 @@ ], "support": { "issues": "https://github.com/utopia-php/framework/issues", - "source": "https://github.com/utopia-php/framework/tree/0.26.0" + "source": "https://github.com/utopia-php/framework/tree/0.27.0" }, - "time": "2023-01-13T08:14:43+00:00" + "time": "2023-01-29T05:36:17+00:00" }, { "name": "utopia-php/image", diff --git a/tests/e2e/Services/Databases/DatabasesBase.php b/tests/e2e/Services/Databases/DatabasesBase.php index 31352edc75..ccb13f13ed 100644 --- a/tests/e2e/Services/Databases/DatabasesBase.php +++ b/tests/e2e/Services/Databases/DatabasesBase.php @@ -1024,7 +1024,7 @@ trait DatabasesBase $this->assertEquals(200, $documents['headers']['status-code']); $this->assertEquals(1, $documents['body']['total']); $this->assertEquals(true, $documents['body']['documents'][0]['blocked']); - $this->assertEquals(2, $documents['body']['documents'][0]['count']); + $this->assertEquals(3, $documents['body']['documents'][0]['count']); $document = $this->client->call(Client::METHOD_GET, '/databases/slow-queries/' . $documents['body']['documents'][0]['$id'], array_merge([ 'content-type' => 'application/json',