1
0
Fork 0

Fix travis builds

pull/171/head
Jordi Boggiano 2011-12-21 16:46:23 +01:00
parent 116b17dfc0
commit 94a8e8809c
1 changed files with 2 additions and 2 deletions

View File

@ -28,13 +28,13 @@ class LibraryInstallerTest extends \PHPUnit_Framework_TestCase
{
$fs = new Filesystem;
$this->vendorDir = realpath(sys_get_temp_dir().DIRECTORY_SEPARATOR.'composer-test-vendor');
$this->vendorDir = realpath(sys_get_temp_dir()).DIRECTORY_SEPARATOR.'composer-test-vendor';
if (is_dir($this->vendorDir)) {
$fs->removeDirectory($this->vendorDir);
}
mkdir($this->vendorDir);
$this->binDir = realpath(sys_get_temp_dir().DIRECTORY_SEPARATOR.'composer-test-bin');
$this->binDir = realpath(sys_get_temp_dir()).DIRECTORY_SEPARATOR.'composer-test-bin';
if (is_dir($this->binDir)) {
$fs->removeDirectory($this->binDir);
}