1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/10492] Backporting functional tests

PHPBB3-10492
This commit is contained in:
Patrick Webster
2012-04-21 04:37:57 -05:00
parent de70b17b1d
commit 2aa994b5ad
8 changed files with 251 additions and 0 deletions

View File

@@ -70,6 +70,11 @@ class phpbb_test_case_helpers
'dbuser' => $dbuser,
'dbpasswd' => $dbpasswd,
));
if (isset($phpbb_functional_url))
{
$config['phpbb_functional_url'] = $phpbb_functional_url;
}
}
if (isset($_SERVER['PHPBB_TEST_DBMS']))
@@ -84,6 +89,13 @@ class phpbb_test_case_helpers
));
}
if (isset($_SERVER['PHPBB_FUNCTIONAL_URL']))
{
$config = array_merge($config, array(
'phpbb_functional_url' => isset($_SERVER['PHPBB_FUNCTIONAL_URL']) ? $_SERVER['PHPBB_FUNCTIONAL_URL'] : '',
));
}
return $config;
}
}