From: Adam Baratz Date: Tue, 13 Sep 2016 20:43:25 +0000 (-0400) Subject: Add common suite X-Git-Tag: php-7.1.0RC2~5^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efadcb0390c3ef1ad0b3c445f886dc697bae44a7;p=php Add common suite --- diff --git a/ext/pdo_dblib/tests/common.phpt b/ext/pdo_dblib/tests/common.phpt new file mode 100644 index 0000000000..27f503c781 --- /dev/null +++ b/ext/pdo_dblib/tests/common.phpt @@ -0,0 +1,17 @@ +--TEST-- +DBLIB +--SKIPIF-- + +--REDIRECTTEST-- +# magic auto-configuration + +return [ + 'ENV' => [ + 'PDOTEST_DSN' => getenv('PDO_DBLIB_TEST_DSN') ?: 'dblib:host=localhost;dbname=test', + 'PDOTEST_USER' => getenv('PDO_DBLIB_TEST_USER') ?: 'php', + 'PDOTEST_PASS' => getenv('PDO_DBLIB_TEST_PASS') ?: 'password', + ], + 'TESTS' => __DIR__ . '/ext/pdo/tests', +];