diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-05-11 14:10:19 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-05-11 14:10:19 +0200 |
commit | 197c801746b148e6bcf7b5824e9077c185bf4e5f (patch) | |
tree | 671351344b6fdb01e2a6081a6fef1a1e9ff9c673 /tests/controller | |
parent | d4fc060bcd61228fdf78da4f2d290a7a17546c46 (diff) | |
download | forums-197c801746b148e6bcf7b5824e9077c185bf4e5f.tar forums-197c801746b148e6bcf7b5824e9077c185bf4e5f.tar.gz forums-197c801746b148e6bcf7b5824e9077c185bf4e5f.tar.bz2 forums-197c801746b148e6bcf7b5824e9077c185bf4e5f.tar.xz forums-197c801746b148e6bcf7b5824e9077c185bf4e5f.zip |
[ticket/12529] Use root_path in controller\resolver to check the template dir
PHPBB3-12529
Diffstat (limited to 'tests/controller')
-rw-r--r-- | tests/controller/controller_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controller/controller_test.php b/tests/controller/controller_test.php index 7b8b78dd22..630757dfd7 100644 --- a/tests/controller/controller_test.php +++ b/tests/controller/controller_test.php @@ -68,7 +68,7 @@ class phpbb_controller_controller_test extends phpbb_test_case include(__DIR__.'/phpbb/controller/foo.php'); } - $resolver = new \phpbb\controller\resolver(new \phpbb\user, $container); + $resolver = new \phpbb\controller\resolver(new \phpbb\user, dirname(__FILE__) . '/', $container); $symfony_request = new Request(); $symfony_request->attributes->set('_controller', 'foo.controller:handle'); |