From c26d0ed365d7fe120e369bfbf0e83b11e6b2b723 Mon Sep 17 00:00:00 2001 From: uwetews Date: Sat, 2 Jan 2016 02:37:14 +0100 Subject: [PATCH] update scope tests for {config_load} --- .../TagTests/ConfigLoad/CompileConfigLoadTest.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/UnitTests/TemplateSource/TagTests/ConfigLoad/CompileConfigLoadTest.php b/tests/UnitTests/TemplateSource/TagTests/ConfigLoad/CompileConfigLoadTest.php index 2e49dc0a..4f3dd6d8 100644 --- a/tests/UnitTests/TemplateSource/TagTests/ConfigLoad/CompileConfigLoadTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/ConfigLoad/CompileConfigLoadTest.php @@ -78,20 +78,6 @@ class CompileConfigLoadTest extends PHPUnit_Smarty $this->assertEquals("Welcome to Smarty!", $this->smarty->getConfigVars('title')); } - /** - * test config varibales loading global - * - * @runInSeparateProcess - * @preserveGlobalState disabled - */ - public function testConfigVariableGlobal() - { - $this->assertEquals("Welcome to Smarty!", $this->smarty->fetch('eval:{config_load file=\'test.conf\' scope=\'global\'}{#title#}')); - // global is parent must not be empty - $this->assertEquals("Welcome to Smarty!", $this->smarty->getConfigVars('title')); - } - - /** * test config varibales loading all sections from template *