44
55use PDO ;
66use PHPUnit \Framework \TestCase ;
7- use Utopia \Query \Builder \BuildResult ;
7+ use Utopia \Query \Builder \Plan ;
88
99abstract class IntegrationTestCase extends TestCase
1010{
@@ -77,7 +77,7 @@ protected function connectMongoDB(): MongoDBClient
7777 /**
7878 * @return list<array<string, mixed>>
7979 */
80- protected function executeOnMongoDB (BuildResult $ result ): array
80+ protected function executeOnMongoDB (Plan $ result ): array
8181 {
8282 $ mongo = $ this ->connectMongoDB ();
8383
@@ -92,7 +92,7 @@ protected function trackMongoCollection(string $collection): void
9292 /**
9393 * @return list<array<string, mixed>>
9494 */
95- protected function executeOnMysql (BuildResult $ result ): array
95+ protected function executeOnMysql (Plan $ result ): array
9696 {
9797 $ pdo = $ this ->connectMysql ();
9898 $ stmt = $ pdo ->prepare ($ result ->query );
@@ -115,7 +115,7 @@ protected function executeOnMysql(BuildResult $result): array
115115 /**
116116 * @return list<array<string, mixed>>
117117 */
118- protected function executeOnPostgres (BuildResult $ result ): array
118+ protected function executeOnPostgres (Plan $ result ): array
119119 {
120120 $ pdo = $ this ->connectPostgres ();
121121 $ stmt = $ pdo ->prepare ($ result ->query );
@@ -138,7 +138,7 @@ protected function executeOnPostgres(BuildResult $result): array
138138 /**
139139 * @return list<array<string, mixed>>
140140 */
141- protected function executeOnClickhouse (BuildResult $ result ): array
141+ protected function executeOnClickhouse (Plan $ result ): array
142142 {
143143 $ ch = $ this ->connectClickhouse ();
144144
0 commit comments