aboutsummaryrefslogtreecommitdiffstats
path: root/tests/controller/controller_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/controller/controller_test.php')
-rw-r--r--tests/controller/controller_test.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/controller/controller_test.php b/tests/controller/controller_test.php
index 198fb3c6dd..97f6d6152a 100644
--- a/tests/controller/controller_test.php
+++ b/tests/controller/controller_test.php
@@ -40,6 +40,12 @@ class phpbb_controller_test extends phpbb_test_case
$this->assertEquals(2, sizeof($routes));
}
+ public function test_controller_url_helper()
+ {
+ $helper = new phpbb_controller_helper;
+ $this->assertEquals($helper->url('foo/bar'),'./app.php?controller=foo/bar');
+ }
+
public function test_controller_resolver()
{
$container = new ContainerBuilder();