xref: /PHP-8.0/ext/pdo_dblib/tests/common.phpt (revision 92ac598a)
1--TEST--
2DBLIB
3--SKIPIF--
4<?php
5if (!extension_loaded('pdo_dblib')) die('skip not loaded');
6?>
7--REDIRECTTEST--
8# magic auto-configuration
9
10return [
11	'ENV' => [
12		'PDOTEST_DSN'  => getenv('PDO_DBLIB_TEST_DSN')  ?: 'dblib:host=localhost;dbname=test',
13		'PDOTEST_USER' => getenv('PDO_DBLIB_TEST_USER') ?: 'php',
14		'PDOTEST_PASS' => getenv('PDO_DBLIB_TEST_PASS') ?: 'password',
15	],
16	'TESTS' => __DIR__ . '/ext/pdo/tests',
17];
18