| Total Complexity | 1 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class BugConfigFromIniStringTest extends TestCase |
||
| 8 | { |
||
| 9 | |||
| 10 | public function test_parse_ini_string_expected_same_transformation_as_from_parse_ini_file() |
||
| 11 | { |
||
| 12 | $config = new Config; |
||
| 13 | $config->fromEnvironment(['KEY_4'], '', false); |
||
| 14 | |||
| 15 | $this->assertNotSame(true, $config->get('KEY_4'), 'Expects (bool)true instead (int)1'); |
||
| 16 | $this->assertSame(1, $config->get('KEY_4'), 'parse_ini_string(): booleans are returned as integers...'); |
||
| 17 | } |
||
| 19 |