File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function shouldPassHttpClientInterfaceToConstructor()
33
33
*/
34
34
public function shouldAuthenticateUsingAllGivenParameters ($ login , $ password , $ method )
35
35
{
36
- $ httpClient = $ this ->getHttpClientMock (array ( ' authenticate ' ) );
36
+ $ httpClient = $ this ->getHttpClientMock ();
37
37
$ httpClient ->expects ($ this ->once ())
38
38
->method ('authenticate ' )
39
39
->with ($ login , $ password , $ method );
@@ -58,7 +58,7 @@ public function getAuthenticationFullData()
58
58
*/
59
59
public function shouldAuthenticateUsingGivenParameters ($ token , $ method )
60
60
{
61
- $ httpClient = $ this ->getHttpClientMock (array ( ' authenticate ' ) );
61
+ $ httpClient = $ this ->getHttpClientMock ();
62
62
$ httpClient ->expects ($ this ->once ())
63
63
->method ('authenticate ' )
64
64
->with ($ token , null , $ method );
You can’t perform that action at this time.
0 commit comments