mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Merge pull request #5474 from cakephp/master-testsuite
Correct argument. Should not have a default string.
This commit is contained in:
commit
8382ecb689
1 changed files with 2 additions and 2 deletions
|
@ -210,12 +210,12 @@ abstract class ControllerTestCase extends CakeTestCase {
|
|||
* - `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(
|
||||
|
|
Loading…
Add table
Reference in a new issue