Browse Source

onle last try against travis

Jose Lorenzo Rodriguez 10 years ago
parent
commit
071f239d68
1 changed files with 8 additions and 0 deletions
  1. 8 0
      tests/TestCase/Database/QueryTest.php

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

@@ -412,7 +412,15 @@ class QueryTest extends TestCase
             ->execute();
         $this->assertCount(0, $result->fetchAll());
         $result->closeCursor();
+    }
 
+    /**
+     * Tests that it is possible to pass a callable as conditions for a join
+     *
+     * @return void
+     */
+    public function testSelectJoinWithCallback2()
+    {
         $query = new Query($this->connection);
         $types = ['created' => 'datetime'];
         $result = $query