diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-03-15 14:01:15 +0100 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2013-03-15 09:18:13 -0400 |
commit | 9259e635cacce34699115b909f256f9302ec3aaa (patch) | |
tree | d0196ab985ba295cf2c01c78367bac1e399f1def /tests/controller/controller_test.php | |
parent | ff9a0e4ef4756c5a9cce3f023b07d9f9a0e5653a (diff) | |
download | forums-9259e635cacce34699115b909f256f9302ec3aaa.tar forums-9259e635cacce34699115b909f256f9302ec3aaa.tar.gz forums-9259e635cacce34699115b909f256f9302ec3aaa.tar.bz2 forums-9259e635cacce34699115b909f256f9302ec3aaa.tar.xz forums-9259e635cacce34699115b909f256f9302ec3aaa.zip |
[ticket/11334] Move unit tests for helper->url() into own file
PHPBB3-11334
Diffstat (limited to 'tests/controller/controller_test.php')
-rw-r--r-- | tests/controller/controller_test.php | 11 |
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(); |