Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testTransactionsDecrementedOnTransactionException() didn't actually test that the transaction level was decremented because the exception caused the test to end early. testCantSwapPDOWithOpenTransaction() changed to use @ExpectedException annotation, as is the convention, instead of $this->setExpectedException(). Also, use $connection->setPdo(null) instead of $connection->disconnect() which aligns better with the intent of the test.
- Loading branch information