Remove CWD from only the beginning of a path in ZipArchiver
Fixes https://github.com/composer/composer/issues/9403pull/9404/head
parent
8f454c6708
commit
4d05cbffe3
|
@ -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';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue