You are here

public function FieldMapEnhancerTest::testFieldAlreadyThere in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony-cmf/routing/Tests/Enhancer/FieldMapEnhancerTest.php \Symfony\Cmf\Component\Routing\Tests\Mapper\FieldMapEnhancerTest::testFieldAlreadyThere()

File

vendor/symfony-cmf/routing/Tests/Enhancer/FieldMapEnhancerTest.php, line 49

Class

FieldMapEnhancerTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Mapper

Code

public function testFieldAlreadyThere() {
  $defaults = array(
    'type' => 'static_pages',
    '_controller' => 'custom.controller:indexAction',
  );
  $this
    ->assertEquals($defaults, $this->enhancer
    ->enhance($defaults, $this->request));
}