From 79afbdddf717594b2b90e174b8abe6adb6904cc0 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 27 Mar 2026 12:35:50 +1300 Subject: [PATCH] (fix): replace last Query::TYPE_SELECT in test --- tests/unit/Utopia/Database/Query/RuntimeQueryTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/Utopia/Database/Query/RuntimeQueryTest.php b/tests/unit/Utopia/Database/Query/RuntimeQueryTest.php index 8e998580ce..fe70f447c5 100644 --- a/tests/unit/Utopia/Database/Query/RuntimeQueryTest.php +++ b/tests/unit/Utopia/Database/Query/RuntimeQueryTest.php @@ -5,6 +5,7 @@ namespace Tests\Unit\Utopia\Database\Query; use Appwrite\Utopia\Database\RuntimeQuery; use PHPUnit\Framework\TestCase; use Utopia\Database\Query; +use Utopia\Query\Method; class RuntimeQueryTest extends TestCase { @@ -680,7 +681,7 @@ class RuntimeQueryTest extends TestCase public function testSelectInAllowedQueries(): void { - $this->assertContains(Query::TYPE_SELECT, RuntimeQuery::ALLOWED_QUERIES); + $this->assertContains(Method::Select, RuntimeQuery::ALLOWED_QUERIES); } public function testIsSelectAllWithNonSelectQuery(): void