Prechádzať zdrojové kódy

return realpath() value (OSX uses a weird symlink structure)

Rob Bast 9 rokov pred
rodič
commit
5e73b21c70
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      tests/Composer/TestCase.php

+ 1 - 1
tests/Composer/TestCase.php

@@ -64,7 +64,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
         do {
             $unique = $root . DIRECTORY_SEPARATOR . uniqid('composer-test-');
             if (!file_exists($unique) && mkdir($unique, 0777)) {
-                return $unique;
+                return realpath($unique);
             }
         } while (--$attempts);