Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function setUp() |
||
25 | { |
||
26 | $configOverrides = []; |
||
27 | |||
28 | $this->setApplicationConfig(ArrayUtils::merge( |
||
29 | include __DIR__ . '/../../../../config/application.config.php', |
||
30 | $configOverrides |
||
31 | )); |
||
32 | |||
33 | $services = $this->getApplicationServiceLocator(); |
||
34 | $config = $services->get('config'); |
||
35 | unset($config['db']); |
||
36 | $services->setAllowOverride(true); |
||
37 | $services->setService('config', $config); |
||
38 | $services->setAllowOverride(false); |
||
39 | |||
40 | parent::setUp(); |
||
41 | } |
||
42 | |||
59 | } |