Some fixes for tests application (will become more maybe).
authorRoland Haeder <roland@mxchange.org>
Tue, 25 Aug 2015 17:15:36 +0000 (19:15 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 25 Aug 2015 17:15:36 +0000 (19:15 +0200)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
application/tests/class_ApplicationHelper.php
application/tests/init.php

index 7e0de1f..9587ab4 100644 (file)
@@ -228,6 +228,17 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
        public function buildMasterTemplateName () {
                return 'node_main';
        }
+
+       /**
+        * Assigns extra application-depending data
+        *
+        * @param       $templateInstance       An instance of a CompileableTemplate
+        * @return      void
+        * @todo        Nothing to add?
+        */
+       public function assignExtraTemplateData (CompileableTemplate $templateInstance) {
+               $this->partialStub('Unfinished method. templateInstance=' . $templateInstance->__toString());
+       }
 }
 
 // [EOF]
index 7bb8a3a..db033e4 100644 (file)
@@ -27,9 +27,5 @@
 // Get config instance
 $cfg = FrameworkConfiguration::getSelfInstance();
 
-// This application needs a database connection then we have to simply include
-// the inc/database.php script
-require($cfg->getConfigEntry('base_path') . 'inc/database.php');
-
 // [EOF]
 ?>