X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2FTest.php;h=f9f1952f21846f7230389e9d58706299ed137ae2;hb=6751244349667c1165f05a319f3d66d3f6781b40;hp=2e8e65654ce597dcc5dcba0ecf10d6584205f5ad;hpb=4e95c4e90f08f67f43591eaaa0c006f923d8bacf;p=core.git diff --git a/tests/Test.php b/tests/Test.php index 2e8e6565..f9f1952f 100644 --- a/tests/Test.php +++ b/tests/Test.php @@ -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('framework_base_path') . 'includes.php'); +require $cfg->getConfigEntry('framework_base_path') . 'includes.php'; // Load all game classes -require($cfg->getConfigEntry('framework_base_path') . '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 { } - -?>