File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 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 @@ -98,7 +98,7 @@ public function testGetTokenInvalidCode(): void {
9898 $ expected = new JSONResponse ([
9999 'error ' => 'invalid_request ' ,
100100 ], Http::STATUS_BAD_REQUEST );
101- $ expected ->throttle (['invalid_request ' => 'token not found ' , ' code ' => ' invalidcode ' ]);
101+ $ expected ->throttle (['invalid_request ' => 'token not found ' ]);
102102
103103 $ this ->accessTokenMapper ->method ('getByCode ' )
104104 ->with ('invalidcode ' )
@@ -194,7 +194,7 @@ public function testRefreshTokenInvalidRefreshToken(): void {
194194 $ expected = new JSONResponse ([
195195 'error ' => 'invalid_request ' ,
196196 ], Http::STATUS_BAD_REQUEST );
197- $ expected ->throttle (['invalid_request ' => 'token not found ' , ' code ' => ' invalidrefresh ' ]);
197+ $ expected ->throttle (['invalid_request ' => 'token not found ' ]);
198198
199199 $ this ->accessTokenMapper ->method ('getByCode ' )
200200 ->with ('invalidrefresh ' )
You can’t perform that action at this time.
0 commit comments