diff options
author | Nils Adermann <naderman@naderman.de> | 2013-09-19 18:50:08 +0200 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2013-09-19 18:50:08 +0200 |
commit | 16fdef486676d0c624e452959b763cf99d8e4ade (patch) | |
tree | e499616784db2db2f0043f8635b93a1363cdc593 /tests/controller | |
parent | fe36375a36ec4f816eb07b41630b6c9fa7ff12c8 (diff) | |
download | forums-16fdef486676d0c624e452959b763cf99d8e4ade.tar forums-16fdef486676d0c624e452959b763cf99d8e4ade.tar.gz forums-16fdef486676d0c624e452959b763cf99d8e4ade.tar.bz2 forums-16fdef486676d0c624e452959b763cf99d8e4ade.tar.xz forums-16fdef486676d0c624e452959b763cf99d8e4ade.zip |
[ticket/11700] Get unit tests to run again with namespaces
PHPBB3-11700
Diffstat (limited to 'tests/controller')
-rw-r--r-- | tests/controller/config/services.yml | 2 | ||||
-rw-r--r-- | tests/controller/phpbb/controller/foo.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/controller/config/services.yml b/tests/controller/config/services.yml index f1bd047489..e4412af3d7 100644 --- a/tests/controller/config/services.yml +++ b/tests/controller/config/services.yml @@ -1,3 +1,3 @@ services: core_foo.controller: - class: phpbb_controller_foo + class: phpbb\controller\foo diff --git a/tests/controller/phpbb/controller/foo.php b/tests/controller/phpbb/controller/foo.php index 04576e16c4..98669f428f 100644 --- a/tests/controller/phpbb/controller/foo.php +++ b/tests/controller/phpbb/controller/foo.php @@ -1,8 +1,10 @@ <?php +namespace phpbb\controller; + use Symfony\Component\HttpFoundation\Response; -class phpbb_controller_foo +class foo { /** * Bar method |