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:
parent
568d9dabf6
commit
d18e749f85
1 changed files with 3 additions and 0 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue