1
0
Fork 0
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:
Jordi Boggiano 2012-03-08 00:11:52 +01:00
parent 775c00258d
commit ada9c20db1
4 changed files with 75 additions and 29 deletions

View file

@ -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()