mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
Update extends test
This commit is contained in:
@@ -42,7 +42,7 @@ class ExtendsResourceTest extends PHPUnit_Smarty
|
|||||||
$this->smarty->registerFilter('pre', array($this, 'compiledPrefilter'));
|
$this->smarty->registerFilter('pre', array($this, 'compiledPrefilter'));
|
||||||
$this->smarty->assign('test', $testNumber);
|
$this->smarty->assign('test', $testNumber);
|
||||||
$this->smarty->caching = $caching;
|
$this->smarty->caching = $caching;
|
||||||
$this->smarty->inheritance_merge_compiled_includes = $merge;
|
$this->smarty->merge_compiled_includes = $merge;
|
||||||
if ($merge) {
|
if ($merge) {
|
||||||
$this->smarty->compile_id = 1;
|
$this->smarty->compile_id = 1;
|
||||||
}
|
}
|
||||||
@@ -61,7 +61,7 @@ class ExtendsResourceTest extends PHPUnit_Smarty
|
|||||||
$this->smarty->registerFilter('pre', array($this, 'compiledPrefilter'));
|
$this->smarty->registerFilter('pre', array($this, 'compiledPrefilter'));
|
||||||
$this->smarty->assign('test', $testNumber);
|
$this->smarty->assign('test', $testNumber);
|
||||||
$this->smarty->caching = $caching;
|
$this->smarty->caching = $caching;
|
||||||
$this->smarty->inheritance_merge_compiled_includes = $merge;
|
$this->smarty->merge_compiled_includes = $merge;
|
||||||
if ($merge) {
|
if ($merge) {
|
||||||
$this->smarty->compile_id = 1;
|
$this->smarty->compile_id = 1;
|
||||||
}
|
}
|
||||||
@@ -81,7 +81,7 @@ class ExtendsResourceTest extends PHPUnit_Smarty
|
|||||||
$this->smarty->registerFilter('pre', array($this, 'compiledPrefilter'));
|
$this->smarty->registerFilter('pre', array($this, 'compiledPrefilter'));
|
||||||
$this->smarty->assign('test', $testNumber);
|
$this->smarty->assign('test', $testNumber);
|
||||||
$this->smarty->caching = $caching;
|
$this->smarty->caching = $caching;
|
||||||
$this->smarty->inheritance_merge_compiled_includes = $merge;
|
$this->smarty->merge_compiled_includes = $merge;
|
||||||
if ($merge) {
|
if ($merge) {
|
||||||
$this->smarty->compile_id = 1;
|
$this->smarty->compile_id = 1;
|
||||||
}
|
}
|
||||||
|
@@ -642,7 +642,7 @@ class CompileBlockExtendsTest extends PHPUnit_Smarty
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException SmartyException
|
* @expectedException SmartyException
|
||||||
* @expectedExceptionMessage tag {$smarty.block.parent} used in parent template
|
* @expectedExceptionMessage illegal {$smarty.block.parent}
|
||||||
* test {$this->smarty.block.parent} in parent template
|
* test {$this->smarty.block.parent} in parent template
|
||||||
*/
|
*/
|
||||||
public function testSmartyBlockParentInParent_027()
|
public function testSmartyBlockParentInParent_027()
|
||||||
|
Reference in New Issue
Block a user