Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare( strict_types=1 ); |
||
24 | public function testCanGetDefaultValueForEnvVar () : void |
||
25 | { |
||
26 | $variableName = "SOMETHING_NOT_SETUP_IN_ENV"; |
||
27 | $default = "a default value"; |
||
28 | $result = $this->getEnvironmentVariable( $variableName, $default ); |
||
29 | $expected = "a default value"; |
||
30 | |||
31 | $this->assertEquals( $expected, $result ); |
||
32 | } |
||
34 |