mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
(fix): replace last Query::TYPE_SELECT in test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user