| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare( strict_types=1 ); |
||
| 40 | public function testCanGetDefaultValueForEnvVar () : void |
||
| 41 | { |
||
| 42 | $variableName = "SOMETHING_NOT_SETUP_IN_ENV"; |
||
| 43 | $default = "a default value"; |
||
| 44 | $result = $this->getEnvironmentVariable( $variableName, $default ); |
||
| 45 | $expected = "a default value"; |
||
| 46 | |||
| 47 | $this->assertEquals( $expected, $result ); |
||
| 48 | } |
||
| 50 |