summaryrefslogtreecommitdiff
path: root/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php')
-rw-r--r--tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php b/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php
index 8e638d98..dd5c4f97 100644
--- a/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php
+++ b/tests/UnitTests/SmartyMethodsTests/ClearCompiledTemplate/ClearCompiledTest.php
@@ -19,14 +19,11 @@ class ClearCompiledTest extends PHPUnit_Smarty
public function setUp(): void
{
$this->setUpSmarty(__DIR__);
- $this->smarty->addTemplateDir('./templates_2/');
+ $this->smarty->setTemplateDir('./templates/');
+ $this->smarty->addTemplateDir('./templates_2/');
}
- public function testInit()
- {
- $this->cleanDirs();
- }
// helpers
/**
* clear $smarty->compile_dir