mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
remove unnecessary code #217
This commit is contained in:
parent
31779fec4e
commit
a80f41b4b5
@ -29,8 +29,6 @@ class MenuComposerTest extends KernelTestCase
|
||||
public function setUp()
|
||||
{
|
||||
self::bootKernel(array('environment' => 'test'));
|
||||
$this->loader = static::$kernel->getContainer()
|
||||
->get('routing.loader');
|
||||
$this->menuComposer = static::$kernel->getContainer()
|
||||
->get('chill.main.menu_composer');
|
||||
}
|
||||
@ -38,7 +36,6 @@ class MenuComposerTest extends KernelTestCase
|
||||
public function testMenuComposer()
|
||||
{
|
||||
$collection = new RouteCollection();
|
||||
//$collection->add($this->loader->load(__DIR__.'dummy_menu_composer.yml', 'yaml'));
|
||||
|
||||
$routes = $this->menuComposer->getRoutesFor('dummy0');
|
||||
|
||||
|
@ -1,21 +0,0 @@
|
||||
chill_main_dummy_0:
|
||||
pattern: /dummy
|
||||
defaults: { _controller: CLChillMainBundle:Default:index }
|
||||
options:
|
||||
menus:
|
||||
dummy0:
|
||||
order: 50
|
||||
label: 'test0'
|
||||
dummy1:
|
||||
order: 50
|
||||
label: test dummy 1
|
||||
|
||||
chill_main_dummy_1:
|
||||
pattern: /dummy1
|
||||
defaults: { _controller: CLChillMainBundle:Default:index }
|
||||
options:
|
||||
menus:
|
||||
dummy0:
|
||||
order: 50
|
||||
label: 'test1'
|
||||
helper: 'great helper'
|
Loading…
x
Reference in New Issue
Block a user