Browse Source

explicitly log queries

with the constructor disabled to avoid the driver error - need to enable
log queries by hand
AD7six 12 years ago
parent
commit
4afdea6d82
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/TestCase/Database/ConnectionTest.php

+ 1 - 0
tests/TestCase/Database/ConnectionTest.php

@@ -723,6 +723,7 @@ class ConnectionTest extends TestCase {
 			->setMethods(['connect'])
 			->disableOriginalConstructor()
 			->getMock();
+		$connection->logQueries(true);
 
 		$driver = $this->getMockFormDriver();
 		$connection->driver($driver);