diff --git a/cake/tests/cases/libs/controller/components/auth.test.php b/cake/tests/cases/libs/controller/components/auth.test.php index 31615f327..3c8888882 100644 --- a/cake/tests/cases/libs/controller/components/auth.test.php +++ b/cake/tests/cases/libs/controller/components/auth.test.php @@ -373,7 +373,7 @@ class AjaxAuthController extends Controller { * @access public * @return void */ - function redirect($url, $status, $exit) { + function redirect($url, $status = null, $exit = true) { $this->testUrl = Router::url($url); return false; }