| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function setUp() |
||
| 12 | { |
||
| 13 | $configOverrides = []; |
||
| 14 | |||
| 15 | $this->setApplicationConfig(ArrayUtils::merge( |
||
| 16 | include __DIR__ . '/../../../../config/application.config.php', |
||
| 17 | $configOverrides |
||
| 18 | )); |
||
| 19 | |||
| 20 | $services = $this->getApplicationServiceLocator(); |
||
| 21 | $config = $services->get('config'); |
||
| 22 | unset($config['db']); |
||
| 23 | $services->setAllowOverride(true); |
||
| 24 | $services->setService('config', $config); |
||
| 25 | $services->setAllowOverride(false); |
||
| 26 | |||
| 27 | parent::setUp(); |
||
| 28 | } |
||
| 29 | |||
| 49 | } |