Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function testWithConfigGiven() |
||
26 | { |
||
27 | $configuration = new Configuration(); |
||
28 | |||
29 | $processor = new Processor(); |
||
30 | $config = $processor->processConfiguration($configuration, array( |
||
31 | 'modera_backend_google_analytics' => array( |
||
32 | 'enabled' => false, |
||
33 | ), |
||
34 | )); |
||
35 | |||
36 | $this->assertArrayHasKey('enabled', $config); |
||
37 | $this->assertFalse($config['enabled']); |
||
38 | } |
||
39 | } |
||
40 |