mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 16:22:22 +02:00
[ticket/17301] Do not test unreadable files on windows
PHPBB-17301
This commit is contained in:
parent
f98f2c5896
commit
9e15802805
5
tests/cache/file_driver_test.php
vendored
5
tests/cache/file_driver_test.php
vendored
@ -55,6 +55,11 @@ class phpbb_cache_file_driver_test extends phpbb_cache_common_test_case
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user