1
0
Fork 0

Remove CWD from only the beginning of a path in ZipArchiver

Fixes https://github.com/composer/composer/issues/9403
pull/9404/head
Tanel Pipar 2020-11-03 12:04:02 +02:00
parent 8f454c6708
commit 4d05cbffe3
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class ZipArchiverTest extends ArchiverTest
'foo' . getcwd() . '/file.txt', 'foo' . getcwd() . '/file.txt',
); );
// Set up repository // Set up repository
$this->setupDummyRepo(array_merge($files)); $this->setupDummyRepo($files);
$package = $this->setupPackage(); $package = $this->setupPackage();
$target = sys_get_temp_dir().'/composer_archiver_test.zip'; $target = sys_get_temp_dir().'/composer_archiver_test.zip';