aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/fixtures/ext
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/fixtures/ext')
-rw-r--r--tests/functional/fixtures/ext/foo/bar/controller/controller.php4
-rw-r--r--tests/functional/fixtures/ext/foo/bar/ext.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/fixtures/ext/foo/bar/controller/controller.php b/tests/functional/fixtures/ext/foo/bar/controller/controller.php
index 5a91b5f681..41b2be350b 100644
--- a/tests/functional/fixtures/ext/foo/bar/controller/controller.php
+++ b/tests/functional/fixtures/ext/foo/bar/controller/controller.php
@@ -5,7 +5,7 @@ class phpbb_ext_foo_bar_controller
{
protected $template;
- public function __construct(phpbb_controller_helper $helper, phpbb_template $template)
+ public function __construct(\phpbb\controller\helper $helper, \phpbb\template\template $template)
{
$this->template = $template;
$this->helper = $helper;
@@ -30,6 +30,6 @@ class phpbb_ext_foo_bar_controller
public function exception()
{
- throw new phpbb_controller_exception('Exception thrown from foo/exception route');
+ throw new \phpbb\controller\exception('Exception thrown from foo/exception route');
}
}
diff --git a/tests/functional/fixtures/ext/foo/bar/ext.php b/tests/functional/fixtures/ext/foo/bar/ext.php
index 74359d51ab..b839cef36c 100644
--- a/tests/functional/fixtures/ext/foo/bar/ext.php
+++ b/tests/functional/fixtures/ext/foo/bar/ext.php
@@ -1,6 +1,6 @@
<?php
-class phpbb_ext_foo_bar_ext extends phpbb_extension_base
+class phpbb_ext_foo_bar_ext extends \phpbb\extension\base
{
}