You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I don't have time to dig but my project feature tests work fine on 2901fdd but fail on latest develop whenever a route uses an implicit controller method. I suspect #3096 simply because it deals with routing but not sure of anything.
E.g.:
3) HomeTest::testGetHome
CodeIgniter\Exceptions\PageNotFoundException: Controller method is not found: index
/var/www/project/vendor/codeigniter4/codeigniter4/system/Exceptions/PageNotFoundException.php:14
/var/www/project/vendor/codeigniter4/codeigniter4/system/CodeIgniter.php:984
/var/www/project/vendor/codeigniter4/codeigniter4/system/CodeIgniter.php:327
/var/www/project/vendor/codeigniter4/codeigniter4/system/Test/FeatureTestTrait.php:158
/var/www/project/vendor/codeigniter4/codeigniter4/system/Test/FeatureTestTrait.php:184
/var/www/project/tests/features/HomeTest.php:9
CodeIgniter 4 version develop
Affected module(s)
Routing, maybe Feature Tests.
Expected behavior, and steps to reproduce if appropriate
Running get('/') should load my home controller as mapped in app/Config/Routes.php
Context
OS: Ubuntu 18.04
Web server: Apache
PHP version: 7.3
The text was updated successfully, but these errors were encountered:
MGatner
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
Jun 15, 2020
I've narrowed this down to a test that is causing the problem. Running the suite without it completes without issue, but with the test somehow messes with the Feature Test routes. There's nothing different about this feature test than the others, currently baffled but I will keep digging.
Describe the bug
I don't have time to dig but my project feature tests work fine on 2901fdd but fail on latest
develop
whenever a route uses an implicit controller method. I suspect #3096 simply because it deals with routing but not sure of anything.E.g.:
CodeIgniter 4 version
develop
Affected module(s)
Routing, maybe Feature Tests.
Expected behavior, and steps to reproduce if appropriate
Running
get('/')
should load my home controller as mapped in app/Config/Routes.phpContext
The text was updated successfully, but these errors were encountered: