diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2011-01-09 23:12:41 +0100 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2011-01-09 23:12:41 +0100 |
| commit | 5373f8157d8a2619197702c3a00a6bb432ef3e25 (patch) | |
| tree | 10e4af590c4225c4c0512d93c27b76a753f02908 /tests/bootstrap.php | |
| parent | c1950004b443a611c082ab166450cc7b3267da91 (diff) | |
| parent | eb6283ea3dc67adebf400054c86bf7875a178da8 (diff) | |
| download | forums-5373f8157d8a2619197702c3a00a6bb432ef3e25.tar forums-5373f8157d8a2619197702c3a00a6bb432ef3e25.tar.gz forums-5373f8157d8a2619197702c3a00a6bb432ef3e25.tar.bz2 forums-5373f8157d8a2619197702c3a00a6bb432ef3e25.tar.xz forums-5373f8157d8a2619197702c3a00a6bb432ef3e25.zip | |
Merge branch 'ticket/igorw/9979' into develop
* ticket/igorw/9979:
[ticket/9979] Support autoloading in unit tests
Diffstat (limited to 'tests/bootstrap.php')
| -rw-r--r-- | tests/bootstrap.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 99f145e427..161bd83a3d 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -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'; |
