Skip to content

Commit f0cc9b7

Browse files
committed
Update ClientTest for changes in interface
1 parent a594801 commit f0cc9b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Github/Tests/ClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function shouldPassHttpClientInterfaceToConstructor()
3333
*/
3434
public function shouldAuthenticateUsingAllGivenParameters($login, $password, $method)
3535
{
36-
$httpClient = $this->getHttpClientMock(array('authenticate'));
36+
$httpClient = $this->getHttpClientMock();
3737
$httpClient->expects($this->once())
3838
->method('authenticate')
3939
->with($login, $password, $method);
@@ -58,7 +58,7 @@ public function getAuthenticationFullData()
5858
*/
5959
public function shouldAuthenticateUsingGivenParameters($token, $method)
6060
{
61-
$httpClient = $this->getHttpClientMock(array('authenticate'));
61+
$httpClient = $this->getHttpClientMock();
6262
$httpClient->expects($this->once())
6363
->method('authenticate')
6464
->with($token, null, $method);

0 commit comments

Comments
 (0)