You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Mouf/Database/MagicQueryTest.php
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
namespaceMouf\Database;
4
4
5
5
useDoctrine\Common\Cache\ArrayCache;
6
+
useDoctrine\DBAL\Platforms\PostgreSqlPlatform;
6
7
useDoctrine\DBAL\Schema\Schema;
7
8
useMouf\Database\SchemaAnalyzer\SchemaAnalyzer;
8
9
usePHPUnit\Framework\TestCase;
@@ -434,4 +435,13 @@ public function testBuildPreparedStatement()
434
435
$sql = 'SELECT id FROM users WHERE status IN :status';
435
436
$this->assertEquals("SELECT id FROM users WHERE status IN (:status)", self::simplifySql($magicQuery->buildPreparedStatement($sql, ['status' => [1,2]])));
0 commit comments