From 22a4a2f5de782c79eacba1feeed9048bd730e28c Mon Sep 17 00:00:00 2001 From: euromark Date: Tue, 23 Dec 2014 15:36:25 +0100 Subject: [PATCH] Correct argument. Should not have a default string. --- lib/Cake/TestSuite/ControllerTestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/TestSuite/ControllerTestCase.php b/lib/Cake/TestSuite/ControllerTestCase.php index e7577a6af6b..8ed11c7da66 100644 --- a/lib/Cake/TestSuite/ControllerTestCase.php +++ b/lib/Cake/TestSuite/ControllerTestCase.php @@ -210,12 +210,12 @@ public function __call($name, $arguments) { * - `result` Get the return value of the controller action. Useful * for testing requestAction methods. * - * @param string $url The url to test + * @param string $url The URL to test * @param array $options See options * @return mixed The specified return type. * @triggers ControllerTestCase $Dispatch, array('request' => $request) */ - protected function _testAction($url = '', $options = array()) { + protected function _testAction($url, $options = array()) { $this->vars = $this->result = $this->view = $this->contents = $this->headers = null; $options += array(