mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
CS fixes and renaming a few methods, refs #2184
This commit is contained in:
parent
11a0d16ccc
commit
0fbb4cbd16
6 changed files with 205 additions and 207 deletions
|
@ -21,7 +21,6 @@ use Composer\Repository\VcsRepository;
|
|||
*/
|
||||
class PerforceDownloaderTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
private $io;
|
||||
private $config;
|
||||
private $testPath;
|
||||
|
@ -93,7 +92,7 @@ class PerforceDownloaderTest extends \PHPUnit_Framework_TestCase
|
|||
$perforce->expects($this->at(4))
|
||||
->method('syncCodeBase')
|
||||
->with($this->equalTo($label));
|
||||
$downloader->injectPerforce($perforce);
|
||||
$downloader->setPerforce($perforce);
|
||||
$package = $this->getMock('Composer\Package\PackageInterface');
|
||||
$package->expects($this->at(0))
|
||||
->method('getSourceReference')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue