From 6e5e4721d83c8bde9780b02bd011bdbf5d188dea Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Fri, 7 Jan 2011 18:40:32 +0100 Subject: [feature/system-cron] Move tests to phpunit.xml and always load class loader PHPBB3-9596 --- tests/bootstrap.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/bootstrap.php') diff --git a/tests/bootstrap.php b/tests/bootstrap.php index cee60c451b..1c0c0240ab 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -31,6 +31,11 @@ require_once $phpbb_root_path . 'includes/class_loader.' . $phpEx; $class_loader = new phpbb_class_loader($phpbb_root_path, '.php'); $class_loader->register(); +require $phpbb_root_path . 'includes/class_loader.php'; + +$class_loader = new phpbb_class_loader($phpbb_root_path, '.php'); +$class_loader->register(); + require_once 'test_framework/phpbb_test_case_helpers.php'; require_once 'test_framework/phpbb_test_case.php'; require_once 'test_framework/phpbb_database_test_case.php'; -- cgit v1.2.1