1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10586] browse tests now work, but mine dont. at least we are making progress

PHPBB3-10586
This commit is contained in:
David King
2012-03-16 16:42:29 -04:00
parent 7b44d6f21a
commit 66b45318ef
3 changed files with 44 additions and 1 deletions

View File

@@ -80,6 +80,11 @@ class phpbb_test_case_helpers
{
$config['phpbb_functional_url'] = $phpbb_functional_url;
}
if (isset($phpbb_functional_path))
{
$config['phpbb_functional_path'] = $phpbb_functional_path;
}
}
if (isset($_SERVER['PHPBB_TEST_DBMS']))
@@ -101,6 +106,13 @@ class phpbb_test_case_helpers
));
}
if (isset($_SERVER['PHPBB_FUNCTIONAL_PATH']))
{
$config = array_merge($config, array(
'phpbb_functional_path' => isset($_SERVER['PHPBB_FUNCTIONAL_PATH']) ? $_SERVER['PHPBB_FUNCTIONAL_PATH'] : '',
));
}
return $config;
}
}