-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix failing tests #272
Fix failing tests #272
Conversation
This reverts commit 6ae80e3.
Okay that didn't work 🤔 |
Not sure how I could silence the deprecations if not using an mu-plugin... |
Taking another stab at this... So this test downgrades to WP 5.8 and then upgrades to 5.9 beta 1. In 5.9 beta 1, The file is not loaded by WordPress anymore, but here it is loaded because of WP-CLI:
Now, this whole change in 5.9 beta 1 was later reverted because of issues with the upgrader, and only reintroduced in 6.2. So I think it makes sense to change the test to use 6.2 instead of 5.9 beta 1... |
@wp-cli/committers @schlessera This should now fix the failing tests that were encountered previously. Only PHP 8.4 ones are not addressed, for those we'd need to require |
PHP 8.4 tests are fixed in #274 |
Good detective work 🕵️♂️ This and the PHP 8.4 update means all tests pass again |
At the moment we don't hide PHP warnings and deprecations in Behat tests anymore, which helps surface potential issues with the tess.
There is currently 1 test failing because of that.
Example test run: https://github.com/wp-cli/core-command/actions/runs/11136463362/job/30948399200#step:11:36
This fix should address this warning.