1
0
Fork 0
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:
Ion Bazan 2020-02-07 11:18:45 +08:00
parent f4762ef021
commit a2137d5263
52 changed files with 186 additions and 657 deletions

View file

@ -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,
);