mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Update Git/Hg downloaders tests, making sure they never use a live filesystem instance
This commit is contained in:
parent
775c00258d
commit
ada9c20db1
4 changed files with 75 additions and 29 deletions
|
@ -49,13 +49,8 @@ class LibraryInstallerTest extends TestCase
|
|||
|
||||
protected function tearDown()
|
||||
{
|
||||
if (is_dir($this->vendorDir)) {
|
||||
$this->fs->removeDirectory($this->vendorDir);
|
||||
}
|
||||
|
||||
if (is_dir($this->binDir)) {
|
||||
$this->fs->removeDirectory($this->binDir);
|
||||
}
|
||||
$this->fs->removeDirectory($this->vendorDir);
|
||||
$this->fs->removeDirectory($this->binDir);
|
||||
}
|
||||
|
||||
public function testInstallerCreationShouldNotCreateVendorDirectory()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue