File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public function getToken(
9393 $ response = new JSONResponse ([
9494 'error ' => 'invalid_request ' ,
9595 ], Http::STATUS_BAD_REQUEST );
96- $ response ->throttle (['invalid_request ' => 'token not found ' , ' code ' => $ code ]);
96+ $ response ->throttle (['invalid_request ' => 'token not found ' ]);
9797 return $ response ;
9898 }
9999
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ public function testGetTokenInvalidCode(): void {
9797 $ expected = new JSONResponse ([
9898 'error ' => 'invalid_request ' ,
9999 ], Http::STATUS_BAD_REQUEST );
100- $ expected ->throttle (['invalid_request ' => 'token not found ' , ' code ' => ' invalidcode ' ]);
100+ $ expected ->throttle (['invalid_request ' => 'token not found ' ]);
101101
102102 $ this ->accessTokenMapper ->method ('getByCode ' )
103103 ->with ('invalidcode ' )
@@ -193,7 +193,7 @@ public function testRefreshTokenInvalidRefreshToken(): void {
193193 $ expected = new JSONResponse ([
194194 'error ' => 'invalid_request ' ,
195195 ], Http::STATUS_BAD_REQUEST );
196- $ expected ->throttle (['invalid_request ' => 'token not found ' , ' code ' => ' invalidrefresh ' ]);
196+ $ expected ->throttle (['invalid_request ' => 'token not found ' ]);
197197
198198 $ this ->accessTokenMapper ->method ('getByCode ' )
199199 ->with ('invalidrefresh ' )
You can’t perform that action at this time.
0 commit comments