Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function setUp() : void |
||
31 | { |
||
32 | global $di; |
||
33 | |||
34 | // Create dependency injector with the service |
||
35 | $di = new DIMagic(); |
||
36 | $di->loadServices(ANAX_INSTALL_PATH . "/config/di"); |
||
37 | $di->loadServices(ANAX_INSTALL_PATH . "/test/config/di"); |
||
38 | |||
39 | $this->di = $di; |
||
40 | $this->service = $this->createService(); |
||
41 | $this->service->setDI($di); |
||
42 | } |
||
58 |