Skip to content

Commit

Permalink
explicitly log queries
Browse files Browse the repository at this point in the history
with the constructor disabled to avoid the driver error - need to enable
log queries by hand
  • Loading branch information
AD7six committed Mar 20, 2014
1 parent 72898d8 commit 4afdea6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/TestCase/Database/ConnectionTest.php
Expand Up @@ -723,6 +723,7 @@ public function testLogBeginRollbackTransaction() {
->setMethods(['connect'])
->disableOriginalConstructor()
->getMock();
$connection->logQueries(true);

$driver = $this->getMockFormDriver();
$connection->driver($driver);
Expand Down

0 comments on commit 4afdea6

Please sign in to comment.