]> git.mxchange.org Git - core.git/blobdiff - tests/Test.php
also skip one element when __callStatic is given
[core.git] / tests / Test.php
index 078f0bb765f5245885dbb0a6e59ed1560dc1b8ae..f9f1952f21846f7230389e9d58706299ed137ae2 100644 (file)
@@ -5,13 +5,13 @@ print (basename(__FILE__).": Init...\n");
 @chdir("..");
 
 // Load config file
-require(dirname(dirname(__FILE__)) . '/framework/config.php');
+require dirname(dirname(__FILE__)) . '/framework/config.php';
 
 // Load all include files
-require($cfg->getConfigEntry('base_path') . 'framework/includes.php');
+require $cfg->getConfigEntry('framework_base_path') . 'includes.php';
 
 // Load all game classes
-require($cfg->getConfigEntry('base_path') . 'framework/classes.php');
+require $cfg->getConfigEntry('framework_base_path') . 'classes.php';
 
 // Set default application
 FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'shipsimu');
@@ -20,7 +20,7 @@ FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'sh
 define('TEST_MODE', true);
 
 // Load the PHPUnit framework
-require('PHPUnit/Framework.php');
+require 'PHPUnit/Framework.php';
 
 print (basename(__FILE__).": Init completed.\n\n");
 die("You need to remove this line (".__LINE__.") and implement this test!\n");
@@ -50,5 +50,3 @@ die("You need to remove this line (".__LINE__.") and implement this test!\n");
  */
 class Test extends PHPUnit_Framework_TestCase {
 }
-
-?>