Update this

This commit is contained in:
Lance Pioch 2024-03-22 21:34:19 -04:00
parent 654aad06bb
commit 03b1fc4636

View File

@ -39,12 +39,7 @@ abstract class ClientApiIntegrationTestCase extends IntegrationTestCase
* Override the default createTestResponse from Illuminate so that we can
* just dump 500-level errors to the screen in the tests without having
* to keep re-assigning variables.
*
* @param \Illuminate\Http\Response $response
*
* @return \Illuminate\Testing\TestResponse
*/
protected function createTestResponse($response)
protected function createTestResponse($response, $request): \Illuminate\Testing\TestResponse
{
return TestResponse::fromBaseResponse($response);
}