fix mocks
parent
9e8aafa3b8
commit
4d975c49aa
|
@ -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))
|
||||
|
|
|
@ -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()
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue