summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/UnitTests/TemplateSource/NullCoalescingTest.php2
-rw-r--r--tests/UnitTests/TemplateSource/TernaryTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/UnitTests/TemplateSource/NullCoalescingTest.php b/tests/UnitTests/TemplateSource/NullCoalescingTest.php
index 2432527a..c771ba33 100644
--- a/tests/UnitTests/TemplateSource/NullCoalescingTest.php
+++ b/tests/UnitTests/TemplateSource/NullCoalescingTest.php
@@ -4,7 +4,7 @@ class NullCoalescingTest extends PHPUnit_Smarty {
public function setUp(): void
{
- $this->setUpSmarty('/tmp');
+ $this->setUpSmarty(sys_get_temp_dir());
$this->cleanDirs();
}
diff --git a/tests/UnitTests/TemplateSource/TernaryTest.php b/tests/UnitTests/TemplateSource/TernaryTest.php
index 95ce4b34..312ada96 100644
--- a/tests/UnitTests/TemplateSource/TernaryTest.php
+++ b/tests/UnitTests/TemplateSource/TernaryTest.php
@@ -4,7 +4,7 @@ class TernaryTest extends PHPUnit_Smarty {
public function setUp(): void
{
- $this->setUpSmarty('/tmp');
+ $this->setUpSmarty(sys_get_temp_dir());
$this->cleanDirs();
}