Commit a0051820 by Alexander Makarov

Fixed tests

parent 5991006e
......@@ -158,7 +158,7 @@ class ConnectionTest extends DatabaseTestCase
$result = $connection->transaction(function () use ($connection) {
$connection->createCommand()->insert('profile', ['description' => 'test transaction shortcut'])->execute();
return true;
}, $connection->beginTransaction(Transaction::READ_UNCOMMITTED));
}, Transaction::READ_UNCOMMITTED);
$this->assertTrue($result, 'transaction shortcut valid value should be returned from callback');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment