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.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/controller/controller_test.php b/tests/controller/controller_test.php
index 8cdedb27e2..c06bf7d548 100644
--- a/tests/controller/controller_test.php
+++ b/tests/controller/controller_test.php
@@ -7,8 +7,6 @@
*
*/
-require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
-
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Route;
use Symfony\Component\Routing\RouteCollection;
@@ -42,15 +40,6 @@ class phpbb_controller_controller_test extends phpbb_test_case
$this->assertEquals(2, sizeof($routes));
}
- public function test_controller_url_helper()
- {
- global $phpbb_dispatcher;
-
- $phpbb_dispatcher = new phpbb_mock_event_dispatcher;
- $helper = new phpbb_controller_helper;
- $this->assertEquals($helper->url('foo/bar'),'./app.php?controller=foo/bar');
- }
-
public function test_controller_resolver()
{
$container = new ContainerBuilder();