1
0
Fork 0

Fix tests

pull/8669/head
Jordi Boggiano 2020-02-14 16:55:21 +01:00
parent bc002ae1fb
commit 0ad322e51f
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 9 additions and 3 deletions

View File

@ -196,7 +196,7 @@ class GitHubDriver extends VcsDriver
$graphql = 'query{repository(owner:"'.$this->owner.'",name:"'.$this->repository.'"){fundingLinks{platform,url}}}';
try {
$result = $this->remoteFilesystem->getContents($this->originUrl, 'https://api.github.com/graphql', false, array(
$result = $this->httpDownloader->get('https://api.github.com/graphql', array(
'http' => array(
'method' => 'POST',
'content' => json_encode(array('query' => $graphql)),

View File

@ -41,10 +41,16 @@ Installs a simple package with exact match requirement
--RUN--
install
--EXPECT-OUTPUT--
<warning>No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.</warning>
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
Updating dependencies
Lock file operations: 3 installs, 0 updates, 0 removals
- Locking b/b (1.0.0)
- Locking d/d (1.0.0)
- Locking a/a (1.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
Generating autoload files
2 packages you are using are looking for funding.
Use the composer fund command to find out more!