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.