1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00

Fix issues in new autoloader code

This commit is contained in:
Jordi Boggiano 2011-10-22 19:49:54 +02:00
parent c8cfa15f52
commit 8a571c05db
3 changed files with 7 additions and 23 deletions

View file

@ -78,7 +78,7 @@ class LibraryInstallerTest extends \PHPUnit_Framework_TestCase
$this->dm
->expects($this->once())
->method('download')
->with($package, $this->dir.DIRECTORY_SEPARATOR.'some/package');
->with($package, $this->dir.'/some/package');
$this->repository
->expects($this->once())
@ -108,7 +108,7 @@ class LibraryInstallerTest extends \PHPUnit_Framework_TestCase
$this->dm
->expects($this->once())
->method('update')
->with($initial, $target, $this->dir.DIRECTORY_SEPARATOR.'package1');
->with($initial, $target, $this->dir.'/package1');
$this->repository
->expects($this->once())
@ -146,7 +146,7 @@ class LibraryInstallerTest extends \PHPUnit_Framework_TestCase
$this->dm
->expects($this->once())
->method('remove')
->with($package, $this->dir.DIRECTORY_SEPARATOR.'pkg');
->with($package, $this->dir.'/pkg');
$this->repository
->expects($this->once())