public function FieldMapEnhancerTest::testFieldFoundInMapping in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/Tests/Enhancer/FieldMapEnhancerTest.php \Symfony\Cmf\Component\Routing\Tests\Mapper\FieldMapEnhancerTest::testFieldFoundInMapping()
File
- vendor/
symfony-cmf/ routing/ Tests/ Enhancer/ FieldMapEnhancerTest.php, line 39
Class
Namespace
Symfony\Cmf\Component\Routing\Tests\MapperCode
public function testFieldFoundInMapping() {
$defaults = array(
'type' => 'static_pages',
);
$expected = array(
'type' => 'static_pages',
'_controller' => 'cmf_content.controller:indexAction',
);
$this
->assertEquals($expected, $this->enhancer
->enhance($defaults, $this->request));
}