Browse Source

Fix test cases.

mscherer 8 years ago
parent
commit
8f0cde76ce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/Database/QueryTest.php

+ 2 - 2
tests/TestCase/Database/QueryTest.php

@@ -1749,7 +1749,7 @@ class QueryTest extends TestCase
         $query = new Query($this->connection);
         $query->select(['id'])
             ->from('articles')
-            ->whereIn('id', [], true)
+            ->whereIn('id', [], ['allowEmpty' => true])
             ->execute();
         $sql = $query->sql();
 
@@ -1799,7 +1799,7 @@ class QueryTest extends TestCase
         $query = new Query($this->connection);
         $query->select(['id'])
             ->from('articles')
-            ->whereNotIn('id', [], true)
+            ->whereNotIn('id', [], ['allowEmpty' => true])
             ->execute();
         $sql = $query->sql();