mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
use Symfony PHPUnit Bridge
This commit is contained in:
parent
f4762ef021
commit
a2137d5263
52 changed files with 186 additions and 657 deletions
|
@ -239,6 +239,11 @@ class GitHubDriverTest extends TestCase
|
|||
->with($this->equalTo('github.com'), $this->equalTo($composerJsonUrl), $this->equalTo(false))
|
||||
->will($this->returnValue('{"encoding": "base64", "content": "' . base64_encode('{"name": "composer/packagist"}') . '"}'));
|
||||
|
||||
$remoteFilesystem->expects($this->at(2))
|
||||
->method('getContents')
|
||||
->with($this->equalTo('github.com'), $this->equalTo('https://api.github.com/repos/composer/packagist/commits/SOMESHA'), $this->equalTo(false))
|
||||
->will($this->returnValue('{"commit": {"committer":{ "date": "2012-09-10"}}}'));
|
||||
|
||||
$repoConfig = array(
|
||||
'url' => $repoUrl,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue