Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: TestRunner was not cleaning up DB on failure
When a unit test being run by PHPUnit encountered a fatal error, TestRunner::tearDown was never being called. This resulted in tmpdb schemas littering the database from failed test runs. This changeset fixes the issue by registering TestRunner::tearDown as a shutdown function, so that it gets called even in the event of a PHP Fatal Error.
- Loading branch information