Codeception/Codeception — pull request #490 by sillylogger (2013-08-16 06:29:34+00:00)
Title: dont rollback outside of a transaction

On assertion failures `Codeception/Module/Dbh.php:69` will try to rollback a transaction regardless as to whether one is active (may have been killed by an assertion failure) and then it throws the PDOException... and tests abort. This can be prevented by checking to see if there is a current transaction before rolling back.