mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Making ApiShell test, which uses Controller pass.
This commit is contained in:
parent
f28b42de2f
commit
358d591e95
1 changed files with 14 additions and 13 deletions
|
@ -65,19 +65,20 @@ class ApiShellTest extends CakeTestCase {
|
||||||
'8. getResponse()',
|
'8. getResponse()',
|
||||||
'9. header($status)',
|
'9. header($status)',
|
||||||
'10. httpCodes($code = NULL)',
|
'10. httpCodes($code = NULL)',
|
||||||
'11. loadModel($modelClass = NULL, $id = NULL)',
|
'11. invokeAction($request)',
|
||||||
'12. paginate($object = NULL, $scope = array (), $whitelist = array ())',
|
'12. loadModel($modelClass = NULL, $id = NULL)',
|
||||||
'13. postConditions($data = array (), $op = NULL, $bool = \'AND\', $exclusive = false)',
|
'13. paginate($object = NULL, $scope = array (), $whitelist = array ())',
|
||||||
'14. redirect($url, $status = NULL, $exit = true)',
|
'14. postConditions($data = array (), $op = NULL, $bool = \'AND\', $exclusive = false)',
|
||||||
'15. referer($default = NULL, $local = false)',
|
'15. redirect($url, $status = NULL, $exit = true)',
|
||||||
'16. render($view = NULL, $layout = NULL)',
|
'16. referer($default = NULL, $local = false)',
|
||||||
'17. set($one, $two = NULL)',
|
'17. render($view = NULL, $layout = NULL)',
|
||||||
'18. setAction($action)',
|
'18. set($one, $two = NULL)',
|
||||||
'19. setRequest($request)',
|
'19. setAction($action)',
|
||||||
'20. shutdownProcess()',
|
'20. setRequest($request)',
|
||||||
'21. startupProcess()',
|
'21. shutdownProcess()',
|
||||||
'22. validate()',
|
'22. startupProcess()',
|
||||||
'23. validateErrors()'
|
'23. validate()',
|
||||||
|
'24. validateErrors()'
|
||||||
);
|
);
|
||||||
$this->Shell->expects($this->at(2))->method('out')->with($expected);
|
$this->Shell->expects($this->at(2))->method('out')->with($expected);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue