[Filesystem] Fixed 3 failing tests on windows
This commit is contained in:
parent
21d4973f79
commit
3689bb8b9d
@ -31,7 +31,7 @@ class FilesystemTest extends \PHPUnit_Framework_TestCase
|
||||
public function setUp()
|
||||
{
|
||||
$this->filesystem = new Filesystem();
|
||||
$this->workspace = sys_get_temp_dir().DIRECTORY_SEPARATOR.time().rand(0, 1000);
|
||||
$this->workspace = rtrim(sys_get_temp_dir(), DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.time().rand(0, 1000);
|
||||
mkdir($this->workspace, 0777, true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user