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