From 607bc114ebb0b3178ff33941c1af82add093a727 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 25 Aug 2015 19:15:36 +0200 Subject: [PATCH] Some fixes for tests application (will become more maybe). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- application/tests/class_ApplicationHelper.php | 11 +++++++++++ application/tests/init.php | 4 ---- 2 files changed, 11 insertions(+), 4 deletions(-) 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] ?> -- 2.30.2