1
0
Fork 0

Expose LibraryInstallerTest properties to child classes

pull/1006/head
Jordi Boggiano 2012-08-16 11:22:30 +02:00
parent de4e9c4022
commit a2171e2ed1
1 changed files with 9 additions and 9 deletions

View File

@ -20,14 +20,14 @@ use Composer\Config;
class LibraryInstallerTest extends TestCase
{
private $composer;
private $config;
private $vendorDir;
private $binDir;
private $dm;
private $repository;
private $io;
private $fs;
protected $composer;
protected $config;
protected $vendorDir;
protected $binDir;
protected $dm;
protected $repository;
protected $io;
protected $fs;
protected function setUp()
{
@ -233,7 +233,7 @@ class LibraryInstallerTest extends TestCase
$this->assertEquals($this->vendorDir.'/'.$package->getPrettyName().'/Some/Namespace', $library->getInstallPath($package));
}
private function createPackageMock()
protected function createPackageMock()
{
return $this->getMockBuilder('Composer\Package\MemoryPackage')
->setConstructorArgs(array(md5(rand()), '1.0.0.0', '1.0.0'))