1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Test fix, fixes #274

This commit is contained in:
Jordi Boggiano 2012-02-03 20:33:57 +01:00
parent 568d9dabf6
commit d18e749f85

View file

@ -88,6 +88,9 @@ class AutoloadGeneratorTest extends \PHPUnit_Framework_TestCase
->method('getPackages')
->will($this->returnValue(array()));
if (!is_dir($this->vendorDir.'/.composer')) {
mkdir($this->vendorDir.'/.composer', 0777, true);
}
$this->generator->dump($this->repo, $package, $this->im, $this->vendorDir.'/.composer');
$this->assertAutoloadFiles('main3', $this->vendorDir.'/.composer');
}