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