Enable nested transactions before trying to test them

This commit is contained in:
Markus Bauer 2016-05-18 23:46:51 +02:00
parent f75ebf8cb9
commit 058809275c

View file

@ -472,6 +472,7 @@ class SqliteTest extends CakeTestCase {
* @return void
*/
public function testNestedTransaction() {
$this->Dbo->useNestedTransactions = true;
$this->skipIf($this->Dbo->nestedTransactionSupported() === false, 'The Sqlite version do not support nested transaction');
$this->loadFixtures('User');