Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function testSetConfigurationParameter(array $config) |
||
15 | { |
||
16 | $container = new ContainerBuilder(); |
||
17 | $container->setParameter('kernel.environment', 'test'); |
||
18 | $extension = new PalmtreeCanonicalUrlExtension(); |
||
19 | |||
20 | $extension->load(array($config), $container); |
||
21 | |||
22 | $this->assertEquals($config, $container->getParameter('palmtree.canonical_url.config')); |
||
23 | } |
||
24 | |||
36 |