diff --git a/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php b/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php index cf1efd7b0c5..12c8c48ba87 100644 --- a/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php +++ b/tests/TestCase/Controller/Component/RequestHandlerComponentTest.php @@ -903,7 +903,7 @@ public function testBeforeRedirectCallbackWithArrayUrl() $RequestHandler->response = $this->Controller->response; ob_start(); - $response = $RequestHandler->beforeRedirect( + $RequestHandler->beforeRedirect( $event, ['controller' => 'RequestHandlerTest', 'action' => 'param_method', 'first', 'second'], $this->Controller->response