X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2FRegistryTest.php;h=78fc1968c71967f89e3313ae299b34f2d6cd8147;hb=4d4f379499f2e2eb9061924c5576063a698ed88b;hp=93cafa9b390b1a0c1765076f221646e616259cff;hpb=f9183eb5c238cc71cdb8891fa816c508b74ba472;p=core.git diff --git a/tests/RegistryTest.php b/tests/RegistryTest.php index 93cafa9b..78fc1968 100644 --- a/tests/RegistryTest.php +++ b/tests/RegistryTest.php @@ -8,10 +8,10 @@ print (basename(__FILE__).": Init...\n"); require(dirname(dirname(__FILE__)) . '/inc/config.php'); // Load all include files -require($cfg->readConfig('base_path') . 'inc/includes.php'); +require($cfg->getConfigEntry('base_path') . 'inc/includes.php'); // Load all game classes -require($cfg->readConfig('base_path') . 'inc/classes.php'); +require($cfg->getConfigEntry('base_path') . 'inc/classes.php'); // Set default application FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'ship-simu');