Skip to content

Commit 5f3c6c9

Browse files
committed
Fix wrong calls to clearstatcache
1 parent db9ef77 commit 5f3c6c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/FinderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ public function testAccessDeniedException()
697697

698698
// restore original permissions
699699
chmod($testDir, 0777);
700-
clearstatcache($testDir);
700+
clearstatcache(true, $testDir);
701701

702702
if ($couldRead) {
703703
$this->markTestSkipped('could read test files while test requires unreadable');
@@ -723,7 +723,7 @@ public function testIgnoredAccessDeniedException()
723723

724724
// restore original permissions
725725
chmod($testDir, 0777);
726-
clearstatcache($testDir);
726+
clearstatcache(true, $testDir);
727727

728728
if ($couldRead) {
729729
$this->markTestSkipped('could read test files while test requires unreadable');

0 commit comments

Comments
 (0)