| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class PalmtreeCanonicalUrlExtensionTest extends AbstractTest |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @dataProvider configProvider |
||
| 13 | * |
||
| 14 | * @param array $config |
||
| 15 | */ |
||
| 16 | public function testSetConfigurationParameter(array $config) |
||
| 17 | { |
||
| 18 | $container = new ContainerBuilder(); |
||
| 19 | $container->setParameter('kernel.environment', 'test'); |
||
| 20 | $extension = new PalmtreeCanonicalUrlExtension(); |
||
| 21 | |||
| 22 | $extension->load([$config], $container); |
||
| 23 | |||
| 24 | $this->assertSame($config, $container->getParameter('palmtree_canonical_url.config')); |
||
| 25 | } |
||
| 26 | |||
| 27 | public function testGetAlias() |
||
| 32 | } |
||
| 33 | } |
||
| 34 |