Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Expose LibraryInstallerTest properties to child classes

  • Loading branch information...
commit a2171e2ed1a6f9a8125163cb05947294d67cd4c0 1 parent de4e9c4
@Seldaek Seldaek authored
Showing with 9 additions and 9 deletions.
  1. +9 −9 tests/Composer/Test/Installer/LibraryInstallerTest.php
View
18 tests/Composer/Test/Installer/LibraryInstallerTest.php
@@ -20,14 +20,14 @@
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 @@ public function testGetInstallPathWithTargetDir()
$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'))
Please sign in to comment.
Something went wrong with that request. Please try again.