summaryrefslogtreecommitdiff
path: root/tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php')
-rw-r--r--tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php b/tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php
index 6fcf32ac..6de26639 100644
--- a/tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php
+++ b/tests/UnitTests/TemplateSource/_Issues/topic26878/NewlineSpacing.php
@@ -2,16 +2,16 @@
/**
* Smarty PHPunit tests compiler errors
*
- * @package PHPunit
+
* @author Uwe Tews
*/
/**
* class for compiler tests
*
- * @runTestsInSeparateProcess
+ *
* @preserveGlobalState disabled
- * @backupStaticAttributes enabled
+ *
*/
class NewlineSpacing extends PHPUnit_Smarty
{
@@ -28,16 +28,16 @@ class NewlineSpacing extends PHPUnit_Smarty
/**
* Test spacings
*
- * @preserveGlobalState disabled
+ *
* @dataProvider dataTestSpacing
- * @runInSeparateProcess
+ *
*/
public function testSpacing($code, $result, $testName, $testNumber)
{
$name = empty($testName) ? $testNumber : $testName;
$file = "Spacing_{$name}.tpl";
$this->makeTemplateFile($file, $code);
- $this->smarty->template_dir = './templates_tmp';
+ $this->smarty->setTemplateDir('./templates_tmp');
$this->smarty->assign('file', $file);
$this->smarty->assign('foo', 'bar');
$this->assertEquals($result,