]> git.mxchange.org Git - core.git/blobdiff - application/tests/data.php
Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / application / tests / data.php
index e2132b755ec63fc990d50b8168678f87da71bbff..9e8bfdda11443558d96d8243f7ba0068c2e336da 100644 (file)
@@ -7,7 +7,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @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
  *
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+// 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]
-?>