Skip to content

Commit

Permalink
Correct argument. Should not have a default string.
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Dec 23, 2014
1 parent 484b114 commit 22a4a2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/TestSuite/ControllerTestCase.php
Expand Up @@ -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(
Expand Down

0 comments on commit 22a4a2f

Please sign in to comment.