Modify NullCoalescingTest.php and TernaryTest.php to prevent test failure on Windows (#1059)

This commit is contained in:
Atsushi Matsuo
2024-08-29 06:16:04 +09:00
committed by GitHub
parent 2f781e2e65
commit c8f1853bfe
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ class NullCoalescingTest extends PHPUnit_Smarty {
public function setUp(): void
{
$this->setUpSmarty('/tmp');
$this->setUpSmarty(sys_get_temp_dir());
$this->cleanDirs();
}

View File

@ -4,7 +4,7 @@ class TernaryTest extends PHPUnit_Smarty {
public function setUp(): void
{
$this->setUpSmarty('/tmp');
$this->setUpSmarty(sys_get_temp_dir());
$this->cleanDirs();
}