Browse Source

Load fixtures to fix failing tests.

Mark Story 10 years ago
parent
commit
c8edd8195c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/TestCase/Database/QueryTest.php

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

@@ -433,6 +433,7 @@ class QueryTest extends TestCase
      */
     public function testSelectJoinWithCallback2()
     {
+        $this->loadFixtures('Authors', 'Comments');
         $query = new Query($this->connection);
         $types = ['created' => 'datetime'];
         $result = $query
@@ -1643,6 +1644,7 @@ class QueryTest extends TestCase
      */
     public function testSelectWhereNot2()
     {
+        $this->loadFixtures('Articles');
         $query = new Query($this->connection);
         $result = $query
             ->select(['id'])