/** * Test the getInstance function with the CONVERT environment variable. * * @return void */ public function testGetInstanceWithEnv() { putenv('CONVERT=1'); Config::destroyInstance(); $config = Config::getInstance('config_test.yml'); $this->assertEquals($config->convert, true); }
/** * Destroy properties after test. */ protected function tearDown() { Config::destroyInstance(); }