• 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
..
AbstractOracleDriver Loading commit data...
DrizzlePDOMySql Loading commit data...
IBMDB2 Loading commit data...
Mysqli Loading commit data...
OCI8 Loading commit data...
PDOIbm Loading commit data...
PDOMySql Loading commit data...
PDOOracle Loading commit data...
PDOPgSql Loading commit data...
PDOSqlite Loading commit data...
PDOSqlsrv Loading commit data...
SQLAnywhere Loading commit data...
SQLSrv Loading commit data...
AbstractDB2DriverTest.php Loading commit data...
AbstractDriverTest.php Loading commit data...
AbstractMySQLDriverTest.php Loading commit data...
AbstractOracleDriverTest.php Loading commit data...
AbstractPostgreSQLDriverTest.php Loading commit data...
AbstractSQLAnywhereDriverTest.php Loading commit data...
AbstractSQLServerDriverTest.php Loading commit data...
AbstractSQLiteDriverTest.php Loading commit data...
PDOExceptionTest.php Loading commit data...
StatementIteratorTest.php Loading commit data...