-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
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
Update to CI v4.4.1 #393
Update to CI v4.4.1 #393
Conversation
Why does the test fail? It passes on my local.
|
phpunit.xml.dist
Outdated
@@ -74,6 +74,8 @@ | |||
|
|||
<php> | |||
<env name="XDEBUG_MODE" value="coverage"/> | |||
<env name="app.forceGlobalSecureRequests" value="false"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code makes the tests pass.
So why did the tests pass without this code in the past?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a bug in CI v4.4.0 FeatureTestTrait. See codeigniter4/CodeIgniter4#7890
So this addition should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice sleuthing! We can proceed here with test workaround or wait for 4.4.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped the commit.
Rebased to resolve conflict. |
Conflicts: app/Config/Routes.php app/Config/Routing.php
composer cs-fix
Conflicts: Config/ForeignCharacters.php app/Config/Autoload.php app/Config/Modules.php
Updated to v4.4.1. |
Still good! |
add<env name="app.forceGlobalSecureRequests" value="false"/>
in phpunit.xml.dist