Fixed failing test for HHVM
This commit is contained in:
parent
61a3afd829
commit
a17aa5e091
@ -1047,7 +1047,7 @@ class FilesystemTest extends FilesystemTestCase
|
|||||||
$this->assertFileExists($filename);
|
$this->assertFileExists($filename);
|
||||||
|
|
||||||
// Tear down
|
// Tear down
|
||||||
unlink($filename);
|
@unlink($filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testDumpFile()
|
public function testDumpFile()
|
||||||
@ -1106,6 +1106,10 @@ class FilesystemTest extends FilesystemTestCase
|
|||||||
|
|
||||||
public function testDumpFileWithFileScheme()
|
public function testDumpFileWithFileScheme()
|
||||||
{
|
{
|
||||||
|
if (defined('HHVM_VERSION')) {
|
||||||
|
$this->markTestSkipped('HHVM does not handle the file:// scheme correctly');
|
||||||
|
}
|
||||||
|
|
||||||
$scheme = 'file://';
|
$scheme = 'file://';
|
||||||
$filename = $scheme.$this->workspace.DIRECTORY_SEPARATOR.'foo'.DIRECTORY_SEPARATOR.'baz.txt';
|
$filename = $scheme.$this->workspace.DIRECTORY_SEPARATOR.'foo'.DIRECTORY_SEPARATOR.'baz.txt';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user