common.phpt 367 B

123456789101112131415
  1. --TEST--
  2. DBLIB
  3. --EXTENSIONS--
  4. pdo_dblib
  5. --REDIRECTTEST--
  6. # magic auto-configuration
  7. return [
  8. 'ENV' => [
  9. 'PDOTEST_DSN' => getenv('PDO_DBLIB_TEST_DSN') ?: 'dblib:host=localhost;dbname=test',
  10. 'PDOTEST_USER' => getenv('PDO_DBLIB_TEST_USER') ?: 'php',
  11. 'PDOTEST_PASS' => getenv('PDO_DBLIB_TEST_PASS') ?: 'password',
  12. ],
  13. 'TESTS' => __DIR__ . '/ext/pdo/tests',
  14. ];