From: Roland Haeder Date: Tue, 25 Aug 2015 17:15:36 +0000 (+0200) Subject: Some fixes for tests application (will become more maybe). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=607bc114ebb0b3178ff33941c1af82add093a727;p=core.git Some fixes for tests application (will become more maybe). Signed-off-by: Roland Häder --- diff --git a/application/tests/class_ApplicationHelper.php b/application/tests/class_ApplicationHelper.php index 7e0de1fc..9587ab48 100644 --- a/application/tests/class_ApplicationHelper.php +++ b/application/tests/class_ApplicationHelper.php @@ -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] diff --git a/application/tests/init.php b/application/tests/init.php index 7bb8a3a6..db033e48 100644 --- a/application/tests/init.php +++ b/application/tests/init.php @@ -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] ?>