diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2013-04-10 13:11:13 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2013-04-10 13:11:13 +0200 |
| commit | bc423f0d97e1cc531aa78505317e85604e57b88d (patch) | |
| tree | f216bb0e9f0bc94a4e15588577d4918cf7d538c6 | |
| parent | 78bcc31a5d0cb01a4748f184fddd00a9b50f09f1 (diff) | |
| download | forums-bc423f0d97e1cc531aa78505317e85604e57b88d.tar forums-bc423f0d97e1cc531aa78505317e85604e57b88d.tar.gz forums-bc423f0d97e1cc531aa78505317e85604e57b88d.tar.bz2 forums-bc423f0d97e1cc531aa78505317e85604e57b88d.tar.xz forums-bc423f0d97e1cc531aa78505317e85604e57b88d.zip | |
[ticket/11465] Correctly set the root path for the test
PHPBB3-11465
| -rw-r--r-- | tests/extension/modules_test.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/extension/modules_test.php b/tests/extension/modules_test.php index 9849ad2ca4..675fb1f4a0 100644 --- a/tests/extension/modules_test.php +++ b/tests/extension/modules_test.php @@ -42,6 +42,11 @@ class phpbb_extension_modules_test extends phpbb_test_case public function test_get_module_infos() { + global $phpbb_root_path; + + // Correctly set the root path for this test to this directory, so the classes can be found + $phpbb_root_path = dirname(__FILE__) . '/'; + $this->acp_modules->module_class = 'acp'; $acp_modules = $this->acp_modules->get_module_infos(); $this->assertEquals(array( |
