Fix wrong calls to clearstatcache

This commit is contained in:
Andreas Braun 2018-12-22 14:25:23 +01:00
parent e1dc08bd68
commit 596b9812e3
No known key found for this signature in database
GPG Key ID: 110C400BE9468C9A

View File

@ -697,7 +697,7 @@ class FinderTest extends Iterator\RealIteratorTestCase
// restore original permissions
chmod($testDir, 0777);
clearstatcache($testDir);
clearstatcache(true, $testDir);
if ($couldRead) {
$this->markTestSkipped('could read test files while test requires unreadable');
@ -723,7 +723,7 @@ class FinderTest extends Iterator\RealIteratorTestCase
// restore original permissions
chmod($testDir, 0777);
clearstatcache($testDir);
clearstatcache(true, $testDir);
if ($couldRead) {
$this->markTestSkipped('could read test files while test requires unreadable');