X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Ftests%2Fdata.php;h=9e8bfdda11443558d96d8243f7ba0068c2e336da;hb=2b4f4b88ec5f9d385110e800494c680e164b5a36;hp=e2132b755ec63fc990d50b8168678f87da71bbff;hpb=c62a0884fc9334024a771f706ee89cd6321868c4;p=core.git diff --git a/application/tests/data.php b/application/tests/data.php index e2132b75..9e8bfdda 100644 --- a/application/tests/data.php +++ b/application/tests/data.php @@ -7,7 +7,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2016 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.shipsimu.org * @@ -25,9 +25,12 @@ * along with this program. If not, see . */ +// Get config instance +$cfg = FrameworkConfiguration::getSelfInstance(); + // Get an instance of the helper $app = call_user_func_array( - array('CoreFramework\Helper\Application\ApplicationHelper', 'getSelfInstance'), + array($cfg->getConfigEntry('app_helper_class'), 'getSelfInstance'), array() ); @@ -35,6 +38,3 @@ $app = call_user_func_array( $app->setAppName('Unit tests and more'); $app->setAppVersion('0.0.0'); $app->setAppShortName('tests'); - -// [EOF] -?>