1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

[ticket/9979] Support autoloading in unit tests

PHPBB-9979
This commit is contained in:
Igor Wiedler
2011-01-07 18:03:00 +01:00
parent 7129531bc0
commit 36e95f939d
7 changed files with 16 additions and 16 deletions

View File

@@ -26,6 +26,10 @@ else
}
require_once $phpbb_root_path . 'includes/constants.php';
require_once $phpbb_root_path . 'includes/class_loader.' . $phpEx;
$class_loader = new phpbb_class_loader($phpbb_root_path, '.' . $phpEx);
$class_loader->register();
require_once 'test_framework/phpbb_test_case_helpers.php';
require_once 'test_framework/phpbb_test_case.php';