aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-08-30 01:15:43 -0400
committerNils Adermann <naderman@naderman.de>2011-09-29 15:42:49 +0200
commit6ea6d50ccb9607429486a01d3144c7d32322e1b5 (patch)
tree4e81742c0f0a158b49cf7b62821d8f58fbc02626 /tests/extension
parent6c6a7d7992460e301615bcc1e13bee92ecc65724 (diff)
downloadforums-6ea6d50ccb9607429486a01d3144c7d32322e1b5.tar
forums-6ea6d50ccb9607429486a01d3144c7d32322e1b5.tar.gz
forums-6ea6d50ccb9607429486a01d3144c7d32322e1b5.tar.bz2
forums-6ea6d50ccb9607429486a01d3144c7d32322e1b5.tar.xz
forums-6ea6d50ccb9607429486a01d3144c7d32322e1b5.zip
[feature/extension-manager] Don't cache the phpbb_root_path in the ext manager
Otherwise the paths are incorrect from e.g. adm/ PHPBB3-10323
Diffstat (limited to 'tests/extension')
-rw-r--r--tests/extension/finder_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/extension/finder_test.php b/tests/extension/finder_test.php
index 8d7d38d4d8..9031e1cb47 100644
--- a/tests/extension/finder_test.php
+++ b/tests/extension/finder_test.php
@@ -23,12 +23,12 @@ class phpbb_extension_finder_test extends phpbb_test_case
'foo' => array(
'ext_name' => 'foo',
'ext_active' => '1',
- 'ext_path' => dirname(__FILE__) . '/ext/foo/',
+ 'ext_path' => 'ext/foo/',
),
'bar' => array(
'ext_name' => 'bar',
'ext_active' => '1',
- 'ext_path' => dirname(__FILE__) . '/ext/bar/',
+ 'ext_path' => 'ext/bar/',
),
));