aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_test_case_helpers.php
diff options
context:
space:
mode:
authorPatrick Webster <noxwizard@phpbb.com>2012-05-08 04:34:19 -0500
committerPatrick Webster <noxwizard@phpbb.com>2012-05-08 04:34:19 -0500
commit711d09633a17ef40e9efe67433f2285fa11f0608 (patch)
tree9371f5f77042203248785406f374bc7f86bb5d89 /tests/test_framework/phpbb_test_case_helpers.php
parent3cdcd44c4b056211f3e3291a4e58beddbb81e25d (diff)
downloadforums-711d09633a17ef40e9efe67433f2285fa11f0608.tar
forums-711d09633a17ef40e9efe67433f2285fa11f0608.tar.gz
forums-711d09633a17ef40e9efe67433f2285fa11f0608.tar.bz2
forums-711d09633a17ef40e9efe67433f2285fa11f0608.tar.xz
forums-711d09633a17ef40e9efe67433f2285fa11f0608.zip
[ticket/10678] Move config changes to new location
PHPBB3-10678
Diffstat (limited to 'tests/test_framework/phpbb_test_case_helpers.php')
-rw-r--r--tests/test_framework/phpbb_test_case_helpers.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_test_case_helpers.php b/tests/test_framework/phpbb_test_case_helpers.php
index b46c36efaa..3622fb1b1a 100644
--- a/tests/test_framework/phpbb_test_case_helpers.php
+++ b/tests/test_framework/phpbb_test_case_helpers.php
@@ -69,6 +69,7 @@ class phpbb_test_case_helpers
'dbname' => $dbname,
'dbuser' => $dbuser,
'dbpasswd' => $dbpasswd,
+ 'custom_dsn' => isset($custom_dsn) ? $custom_dsn : '',
));
if (isset($phpbb_functional_url))
@@ -85,7 +86,8 @@ class phpbb_test_case_helpers
'dbport' => isset($_SERVER['PHPBB_TEST_DBPORT']) ? $_SERVER['PHPBB_TEST_DBPORT'] : '',
'dbname' => isset($_SERVER['PHPBB_TEST_DBNAME']) ? $_SERVER['PHPBB_TEST_DBNAME'] : '',
'dbuser' => isset($_SERVER['PHPBB_TEST_DBUSER']) ? $_SERVER['PHPBB_TEST_DBUSER'] : '',
- 'dbpasswd' => isset($_SERVER['PHPBB_TEST_DBPASSWD']) ? $_SERVER['PHPBB_TEST_DBPASSWD'] : ''
+ 'dbpasswd' => isset($_SERVER['PHPBB_TEST_DBPASSWD']) ? $_SERVER['PHPBB_TEST_DBPASSWD'] : '',
+ 'custom_dsn' => isset($_SERVER['PHPBB_TEST_CUSTOM_DSN']) ? $_SERVER['PHPBB_TEST_CUSTOM_DSN'] : '',
));
}