Skip to content

Commit

Permalink
[Filesystem] Fixed 3 failing tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pborreli committed Jul 27, 2012
1 parent e8d3ad5 commit 1455fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/FilesystemTest.php
Expand Up @@ -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);
}

Expand Down

0 comments on commit 1455fd4

Please sign in to comment.