Просмотр исходного кода

Merge pull request #1752 from njam/issue-1752

Link-resolve tmp dir in tests
Jordi Boggiano 12 лет назад
Родитель
Сommit
24ee9a8bf2

+ 1 - 1
tests/Composer/Test/Package/Archiver/ArchivableFilesFinderTest.php

@@ -29,7 +29,7 @@ class ArchivableFilesFinderTest extends \PHPUnit_Framework_TestCase
     {
         $fs = new Filesystem;
 
-        $this->sources = sys_get_temp_dir().
+        $this->sources = realpath(sys_get_temp_dir()).
             '/composer_archiver_test'.uniqid(mt_rand(), true);
 
         $fileTree = array(