]> git.mxchange.org Git - core.git/blobdiff - application/tests/data.php
Continued:
[core.git] / application / tests / data.php
index 7d50b5871eff2b76fbb486839c2d400ef1143610..e1fd3230d90bfd093b9857452ea9ae6c720dfe6c 100644 (file)
@@ -1,8 +1,4 @@
 <?php
-// Import framework stuff
-use CoreFramework\Configuration\FrameworkConfiguration;
-use CoreFramework\Helper\Application\ApplicationHelper;
-
 /**
  * Application data
  *
@@ -29,12 +25,9 @@ use CoreFramework\Helper\Application\ApplicationHelper;
  * 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($cfg->getConfigEntry('app_helper_class'), 'getSelfInstance'),
+       array('CoreFramework\Helper\Application\ApplicationHelper', 'getSelfInstance'),
        array()
 );
 
@@ -42,6 +35,3 @@ $app = call_user_func_array(
 $app->setAppName('Unit tests and more');
 $app->setAppVersion('0.0.0');
 $app->setAppShortName('tests');
-
-// [EOF]
-?>