X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2FTest.php;h=7e5a551c428b0167367b414489e4b9a1f7c1ee98;hb=2cc3bdfc01432ccf67043398e3300c0d958c2840;hp=284f9b22a1105e8ce7ccac24b08766fe28576707;hpb=7055094dbdf88ae7bc915cf9ca8d5137ea6284ef;p=shipsimu.git diff --git a/tests/Test.php b/tests/Test.php index 284f9b2..7e5a551 100644 --- a/tests/Test.php +++ b/tests/Test.php @@ -8,10 +8,10 @@ print (basename(__FILE__).": Init...\n"); require(dirname(dirname(__FILE__)) . '/inc/config.php'); // Load all include files -require(PATH . 'inc/includes.php'); +require($cfg->readConfig('base_path') . 'inc/includes.php'); // Load all game classes -require(PATH . 'inc/classes.php'); +require($cfg->readConfig('base_path') . 'inc/classes.php'); // Set default application FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'ship-simu'); @@ -28,11 +28,11 @@ die("You need to remove this line (".__LINE__.") and implement this test!\n"); /** * A test case for * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.ship-simu.org * @see http://www.phpunit.de * * This program is free software: you can redistribute it and/or modify