Allow empty config filename (= default)

This commit is contained in:
Pierre Rudloff 2017-04-24 17:56:07 +02:00
parent 2a31951217
commit e4f061e6c3
2 changed files with 11 additions and 1 deletions

View file

@ -64,6 +64,16 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
Config::getInstance('foo');
}
/**
* Test the getInstance function with aen empty filename.
*
* @return void
*/
public function testGetInstanceWithEmptyFile()
{
$config = Config::getInstance('');
}
/**
* Test the getInstance function with the CONVERT and PYTHON environment variables.
*