Browse Source

Revert where phpunit needs method to mock.

Mark Sch 8 years ago
parent
commit
e80c2057bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Database/Connection.php

+ 1 - 1
src/Database/Connection.php

@@ -294,7 +294,7 @@ class Connection implements ConnectionInterface
      */
     public function compileQuery(Query $query, ValueBinder $generator)
     {
-        return $this->_driver->compileQuery($query, $generator)[1];
+        return $this->getDriver()->compileQuery($query, $generator)[1];
     }
 
     /**