mirror of
https://github.com/php/php-src.git
synced 2025-01-24 04:33:39 +08:00
Remove PDO DBLIB prefix from PostgreSQL PDO tests
This commit is contained in:
parent
4ebac5019b
commit
ff35c963a4
@ -1,28 +0,0 @@
|
||||
--TEST--
|
||||
DBLIB
|
||||
--SKIPIF--
|
||||
<?php # vim:ft=php
|
||||
if (!extension_loaded('pdo_dblib')) print 'skip'; ?>
|
||||
--REDIRECTTEST--
|
||||
# magic auto-configuration
|
||||
# Also update config.inc if you make changes here...
|
||||
|
||||
$config = array(
|
||||
'TESTS' => 'ext/pdo/tests'
|
||||
);
|
||||
|
||||
if (false !== getenv('PDO_DBLIB_TEST_DSN'))
|
||||
$config['ENV']['PDOTEST_DSN'] = getenv('PDO_DBLIB_TEST_DSN');
|
||||
else
|
||||
$config['ENV']['PDOTEST_DSN'] = 'dblib:host=localhost dbname=test';
|
||||
|
||||
if (false !== getenv('PDO_DBLIB_TEST_USER'))
|
||||
$config['ENV']['PDOTEST_USER'] = getenv('PDO_DBLIB_TEST_USER');
|
||||
|
||||
if (false !== getenv('PDO_DBLIB_TEST_PASS'))
|
||||
$config['ENV']['PDOTEST_PASS'] = getenv('PDO_DBLIB_TEST_PASS');
|
||||
|
||||
if (false !== getenv('PDO_DBLIB_TEST_ATTR'))
|
||||
$config['ENV']['PDOTEST_ATTR'] = getenv('PDO_DBLIB_TEST_ATTR');
|
||||
|
||||
return $config;
|
Loading…
Reference in New Issue
Block a user