[Filesystem] Fix tests on windows
This commit is contained in:
parent
7b83b7221a
commit
e8b07a0787
@ -905,8 +905,12 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
$this->assertFileExists($filename);
|
||||
$this->assertSame('bar', file_get_contents($filename));
|
||||
|
||||
// skip mode check on windows
|
||||
if (!defined('PHP_WINDOWS_VERSION_MAJOR')) {
|
||||
$this->assertEquals(753, $this->getFilePermissions($filename));
|
||||
}
|
||||
}
|
||||
|
||||
public function testDumpFileOverwritesAnExistingFile()
|
||||
{
|
||||
|
Reference in New Issue
Block a user