1
0
Fork 0

fix mocks

pull/4958/head
Rob Bast 2016-02-24 20:30:10 +01:00
parent 9e8aafa3b8
commit 4d975c49aa
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class GitHubDriverTest extends TestCase
$remoteFilesystem->expects($this->at(1))
->method('getContents')
->with($this->equalTo('github.com'), $this->equalTo('https://api.github.com/rate_limit'), $this->equalTo(false))
->with($this->equalTo('github.com'), $this->equalTo('https://api.github.com'), $this->equalTo(false))
->will($this->returnValue('{}'));
$remoteFilesystem->expects($this->at(2))

View File

@ -50,7 +50,7 @@ class GitHubTest extends \PHPUnit_Framework_TestCase
->method('getContents')
->with(
$this->equalTo($this->origin),
$this->equalTo(sprintf('https://api.%s/rate_limit', $this->origin)),
$this->equalTo(sprintf('https://api.%s', $this->origin)),
$this->isFalse(),
$this->anything()
)