Example #1
0
 /**
  * Test that the configuration filename value is set correctly
  * 
  * @return null
  */
 public function testSetConfigFilename()
 {
     $originalConfig = Config::getConfigFile();
     $newFilename = 'testconfig.php';
     Config::setConfigFile($newFilename);
     $this->assertEquals($newFilename, Config::getConfigFile());
     // reset it back to the original
     Config::setConfigFile($originalConfig);
 }