mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
Fixed obscure code
This commit is contained in:
parent
2e9de65ae0
commit
d27989c808
2 changed files with 7 additions and 1 deletions
|
@ -77,6 +77,12 @@ class AutoloadGeneratorTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertAutoloadFiles('main', $this->vendorDir.'/.composer');
|
||||
}
|
||||
|
||||
public function testVendorDirSameAsWorkingDir()
|
||||
{
|
||||
chdir($this->vendorDir);
|
||||
$this->testMainPackageAutoloading();
|
||||
}
|
||||
|
||||
public function testMainPackageAutoloadingAlternativeVendorDir()
|
||||
{
|
||||
$package = new MemoryPackage('a', '1.0', '1.0');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue