All empty double-quoted strings replaced with single-quotes
[core.git] / tests / ConfigTest.php
index 7c70e61b7987f4a426f35c0a0d7cff1584bdfda3..1014d10adb143571f68e1c6728826307aefb6123 100644 (file)
@@ -29,7 +29,7 @@ print (basename(__FILE__).": Init completed.\n\n");
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @see                        http://www.phpunit.de
@@ -91,7 +91,7 @@ class ConfigTest extends PHPUnit_Framework_TestCase {
                        $cfg = FrameworkConfiguration::getInstance();
 
                        // Try to read an empty configuration variable
-                       $dummy = $cfg->readConfig("");
+                       $dummy = $cfg->readConfig('');
                } catch (ConfigEntryIsEmptyException $expected) {
                        // This exception was expected, so it is fine
                        $testPassed = true;
@@ -120,7 +120,7 @@ class ConfigTest extends PHPUnit_Framework_TestCase {
                        $cfg = FrameworkConfiguration::getInstance();
 
                        // Try to read an empty configuration variable
-                       $cfg->setConfigEntry("", 'will_never_be_set');
+                       $cfg->setConfigEntry('', 'will_never_be_set');
                } catch (ConfigEntryIsEmptyException $expected) {
                        // This exception was expected, so it is fine
                        $testPassed = true;