File tree Expand file tree Collapse file tree
user_guide_src/source/testing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,13 +69,15 @@ Specifies the class name of the controller to test. The first parameter must be
6969
7070 $this->controller(\App\Controllers\ForumController::class);
7171
72- **execute($method) **
72+ **execute(string $method, ...$params ) **
7373
74- Executes the specified method within the controller. The only parameter is the name of the method to run::
74+ Executes the specified method within the controller. The first parameter is the name of the method to run::
7575
7676 $results = $this->controller(\App\Controllers\ForumController::class)
7777 ->execute('showCategories');
7878
79+ By specifying the second and subsequent parameters, you can pass them to the controller method.
80+
7981This returns a new helper class that provides a number of routines for checking the response itself. See below
8082for details.
8183
You can’t perform that action at this time.
0 commit comments