Reworked driver exception tests
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.
Showing
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
"doctrine/coding-standard": "^6.0", | "doctrine/coding-standard": "^6.0", | ||
"jetbrains/phpstorm-stubs": "^2018.1.2", | "jetbrains/phpstorm-stubs": "^2018.1.2", | ||
"phpstan/phpstan": "^0.11.3", | "phpstan/phpstan": "^0.11.3", | ||
"phpunit/phpunit": "^8.0", | "phpunit/phpunit": "^8.1.5", | ||
"symfony/console": "^2.0.5|^3.0|^4.0", | "symfony/console": "^2.0.5|^3.0|^4.0", | ||
"symfony/phpunit-bridge": "^3.4.5|^4.0.5" | "symfony/phpunit-bridge": "^3.4.5|^4.0.5" | ||
}, | }, | ||
... | ... |
Please register or sign in to comment