Skip to content

Commit

Permalink
Modify NullCoalescingTest.php and TernaryTest.php to prevent test fai…
Browse files Browse the repository at this point in the history
…lure on Windows (#1059)
  • Loading branch information
matsuo authored Aug 28, 2024
1 parent 2f781e2 commit c8f1853
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/UnitTests/TemplateSource/NullCoalescingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class NullCoalescingTest extends PHPUnit_Smarty {

public function setUp(): void
{
$this->setUpSmarty('/tmp');
$this->setUpSmarty(sys_get_temp_dir());
$this->cleanDirs();
}

Expand Down
2 changes: 1 addition & 1 deletion tests/UnitTests/TemplateSource/TernaryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class TernaryTest extends PHPUnit_Smarty {

public function setUp(): void
{
$this->setUpSmarty('/tmp');
$this->setUpSmarty(sys_get_temp_dir());
$this->cleanDirs();
}

Expand Down

0 comments on commit c8f1853

Please sign in to comment.