We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a594801 commit f0cc9b7Copy full SHA for f0cc9b7
test/Github/Tests/ClientTest.php
@@ -33,7 +33,7 @@ public function shouldPassHttpClientInterfaceToConstructor()
33
*/
34
public function shouldAuthenticateUsingAllGivenParameters($login, $password, $method)
35
{
36
- $httpClient = $this->getHttpClientMock(array('authenticate'));
+ $httpClient = $this->getHttpClientMock();
37
$httpClient->expects($this->once())
38
->method('authenticate')
39
->with($login, $password, $method);
@@ -58,7 +58,7 @@ public function getAuthenticationFullData()
58
59
public function shouldAuthenticateUsingGivenParameters($token, $method)
60
61
62
63
64
->with($token, null, $method);
0 commit comments