$appConfig
$appConfig : \CodeIgniter\Test\BaseConfig
Controller configuration.
ControllerTester Trait
Provides features that make testing controllers simple and fluent.
Example:
$this->withRequest($request) ->withResponse($response) ->withURI($uri) ->withBody($body) ->controller('App\Controllers\Home') ->run('methodName');
$response : \CodeIgniter\HTTP\Response
Response.
execute(string $method, array $params) : \CodeIgniter\Test\ControllerResponse|\InvalidArgumentException
Runs the specified method on the controller and returns the results.
string | $method | |
array | $params |
Loading…