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()
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 );
You can’t perform that action at this time.
0 commit comments