Fix tests
parent
bc002ae1fb
commit
0ad322e51f
|
@ -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)),
|
||||
|
|
|
@ -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!
|
||||
|
|
Loading…
Reference in New Issue