aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extension/ext/foo/acp/fail_info.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extension/ext/foo/acp/fail_info.php')
-rw-r--r--tests/extension/ext/foo/acp/fail_info.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/extension/ext/foo/acp/fail_info.php b/tests/extension/ext/foo/acp/fail_info.php
index 99aa09551e..01d29fc5eb 100644
--- a/tests/extension/ext/foo/acp/fail_info.php
+++ b/tests/extension/ext/foo/acp/fail_info.php
@@ -1,14 +1,17 @@
<?php
+
+namespace foo\acp;
+
/*
* Due to the mismatch between the class name and the file name, this module
* file shouldn't be found by the extension finder
*/
-class phpbb_ext_foo_acp_foo_info
+class foo_info
{
public function module()
{
return array(
- 'filename' => 'phpbb_ext_foo_acp_fail_module',
+ 'filename' => 'foo\acp\fail_module',
'title' => 'Foobar',
'version' => '3.1.0-dev',
'modes' => array(