瀏覽代碼

Fix travis builds

Jordi Boggiano 13 年之前
父節點
當前提交
94a8e8809c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/Composer/Test/Installer/LibraryInstallerTest.php

+ 2 - 2
tests/Composer/Test/Installer/LibraryInstallerTest.php

@@ -28,13 +28,13 @@ class LibraryInstallerTest extends \PHPUnit_Framework_TestCase
     {
     {
         $fs = new Filesystem;
         $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)) {
         if (is_dir($this->vendorDir)) {
             $fs->removeDirectory($this->vendorDir);
             $fs->removeDirectory($this->vendorDir);
         }
         }
         mkdir($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)) {
         if (is_dir($this->binDir)) {
             $fs->removeDirectory($this->binDir);
             $fs->removeDirectory($this->binDir);
         }
         }