| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | protected function setUp(){ |
||
| 29 | |||
| 30 | (new Dotenv(__DIR__.'/../config', '.env'))->load(); |
||
| 31 | |||
| 32 | $this->dbOptions = new DBOptions([ |
||
| 33 | 'host' => getenv($this->envVar.'HOST'), |
||
| 34 | 'port' => getenv($this->envVar.'PORT'), |
||
| 35 | 'socket' => getenv($this->envVar.'SOCKET'), |
||
| 36 | 'database' => getenv($this->envVar.'DATABASE'), |
||
| 37 | 'username' => getenv($this->envVar.'USERNAME'), |
||
| 38 | 'password' => getenv($this->envVar.'PASSWORD'), |
||
| 39 | ]); |
||
| 40 | } |
||
| 41 | |||
| 43 |