Skip to content

Commit

Permalink
[ticket/17301] Do not test unreadable files on windows
Browse files Browse the repository at this point in the history
PHPBB-17301
  • Loading branch information
marc1706 committed Jun 11, 2024
1 parent f98f2c5 commit 9e15802
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/cache/file_driver_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ protected function tearDown(): void

public function test_read_not_readable()
{
if (strtolower(substr(PHP_OS, 0, 3)) === 'win')
{
$this->markTestSkipped('Unable to test unreadable files on Windows');
}

global $phpEx;

// Create file that is not readable
Expand Down

0 comments on commit 9e15802

Please sign in to comment.