aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-07-13 08:22:27 -0400
committerNils Adermann <naderman@naderman.de>2011-09-29 15:42:33 +0200
commitfabde989a2676c762f58e17b06772c9a3ba2f85e (patch)
treee635e30f2fc1eb70bc1f2b2fcb5d3885bfb28524 /tests/mock
parent14f1e581faa3b66e7689c55c1e9c0485c0872b1e (diff)
downloadforums-fabde989a2676c762f58e17b06772c9a3ba2f85e.tar
forums-fabde989a2676c762f58e17b06772c9a3ba2f85e.tar.gz
forums-fabde989a2676c762f58e17b06772c9a3ba2f85e.tar.bz2
forums-fabde989a2676c762f58e17b06772c9a3ba2f85e.tar.xz
forums-fabde989a2676c762f58e17b06772c9a3ba2f85e.zip
[feature/extension-manager] Porting cron tasks over to the extension finder
PHPBB3-10323
Diffstat (limited to 'tests/mock')
-rw-r--r--tests/mock/extension_manager.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mock/extension_manager.php b/tests/mock/extension_manager.php
index 49d727db37..5155716181 100644
--- a/tests/mock/extension_manager.php
+++ b/tests/mock/extension_manager.php
@@ -9,8 +9,10 @@
class phpbb_mock_extension_manager extends phpbb_extension_manager
{
- public function __construct($extensions = array())
+ public function __construct($phpbb_root_path, $extensions = array())
{
+ $this->phpbb_root_path = $phpbb_root_path;
+ $this->phpEx = '.php';
$this->extensions = $extensions;
}
}