• Sergei Morozov's avatar
    Reworked driver exception tests · 63277274
    Sergei Morozov authored
    1. Got rid of hard-coded exception mocks in favor of PHPUnit-generated ones where possible.
    2. Reworked AbstractDriverTest::testConvertsException() to use a data provider to make testing all types of exceptions independent.
    3. Updated PHPUnit since the reworked code relies on sebastianbergmann/phpunit#3604.
    63277274
DBALExceptionTest.php 2.82 KB