• 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
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
docs Loading commit data...
lib/Doctrine/DBAL Loading commit data...
tests Loading commit data...
.appveyor.yml Loading commit data...
.doctrine-project.json Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.scrutinizer.yml Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
UPGRADE.md Loading commit data...
composer.json Loading commit data...
composer.lock Loading commit data...
phpcs.xml.dist Loading commit data...
phpstan.neon.dist Loading commit data...
phpunit.xml.dist Loading commit data...
run-all.sh Loading commit data...