Skip to content

Commit

Permalink
Fixing failing test in ApiShell test.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 20, 2009
1 parent 3edb84d commit e95186d
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions cake/tests/cases/console/libs/api.test.php
Expand Up @@ -91,17 +91,18 @@ function testMethodNameDetection () {
'5. disableCache()',
'6. flash($message, $url, $pause = 1, $layout = \'flash\')',
'7. header($status)',
'8. isAuthorized()',
'9. loadModel($modelClass = null, $id = null)',
'10. paginate($object = null, $scope = array(), $whitelist = array())',
'11. postConditions($data = array(), $op = null, $bool = \'AND\', $exclusive = false)',
'12. redirect($url, $status = null, $exit = true)',
'13. referer($default = null, $local = false)',
'14. render($action = null, $layout = null, $file = null)',
'15. set($one, $two = null)',
'16. setAction($action)',
'17. validate()',
'18. validateErrors()'
'8. httpCodes($code = null)',
'9. isAuthorized()',
'10. loadModel($modelClass = null, $id = null)',
'11. paginate($object = null, $scope = array(), $whitelist = array())',
'12. postConditions($data = array(), $op = null, $bool = \'AND\', $exclusive = false)',
'13. redirect($url, $status = null, $exit = true)',
'14. referer($default = null, $local = false)',
'15. render($action = null, $layout = null, $file = null)',
'16. set($one, $two = null)',
'17. setAction($action)',
'18. validate()',
'19. validateErrors()'
)
);
$this->Shell->expectAt(1, 'out', $expected);
Expand Down

0 comments on commit e95186d

Please sign in to comment.