X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=tests%2FTest.php;h=f9f1952f21846f7230389e9d58706299ed137ae2;hp=1e3480dc7d76886e189bc54f3c0e91496c6973f9;hb=e72033bed456c820815feeb2d25335245499448e;hpb=66e68715d3d5a5e7fd5a3046471914ef3f9dd4b4 diff --git a/tests/Test.php b/tests/Test.php index 1e3480dc..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__)) . '/inc/config.php'); +require dirname(dirname(__FILE__)) . '/framework/config.php'; // Load all include files -require($cfg->getConfigEntry('base_path') . 'inc/includes.php'); +require $cfg->getConfigEntry('framework_base_path') . 'includes.php'; // Load all game classes -require($cfg->getConfigEntry('base_path') . 'inc/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 { } - -?>