xref: /PHP-7.3/ext/pdo_dblib/tests/common.phpt (revision efadcb03)
1--TEST--
2DBLIB
3--SKIPIF--
4<?php # vim:ft=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