We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. I have controller in 2 folder depth from controllers folder (ex. controllers/api/aa/Example.php). I make a request the following form
$this->request('GET', ['Example', 'users_get']);
i will get
Example_test::test_users_get Status code is not 200 but 404. Failed asserting that 404 is identical to 200.
If i move the controller one folder up (ex. controller/api/Example.php) the above form work ok. OR i make the request in the following form
$this->request('GET', '/api/bb/example/users_get');
work ok. Sorry my bad English.
The text was updated successfully, but these errors were encountered:
Please use $this->request('GET', '/api/bb/example/users'); at the moment.
$this->request('GET', '/api/bb/example/users');
This is because controller autoload of ci-phpunit-test only seeks in sub folder.
Sorry, something went wrong.
Ok. Thanks.
I've fixed autoloader: 2ebac53
Thanks. I made a quick test and is look like OK
No branches or pull requests
Hi.
I have controller in 2 folder depth from controllers folder (ex. controllers/api/aa/Example.php). I make a request the following form
i will get
If i move the controller one folder up (ex. controller/api/Example.php) the above form work ok.
OR i make the request in the following form
work ok.
Sorry my bad English.
The text was updated successfully, but these errors were encountered: