Skip to content
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

Fix tests after change in WordPress trunk #195

Merged
merged 2 commits into from
May 7, 2024
Merged

Fix tests after change in WordPress trunk #195

merged 2 commits into from
May 7, 2024

Conversation

swissspidy
Copy link
Member

@swissspidy swissspidy commented May 7, 2024

Improve the test case after https://core.trac.wordpress.org/changeset/58105 to address failures.

Simply removes the bits with the autoload value from the assertions.

The alternative would be to use a different value depending on the WP version but that seems overkill.

@swissspidy swissspidy added this to the 2.1.6 milestone May 7, 2024
@swissspidy swissspidy requested a review from a team as a code owner May 7, 2024 08:07
@thelovekesh
Copy link
Member

Are these failing tests related to these changes?

@swissspidy
Copy link
Member Author

Ah yes, looks like I need to fix the following assertions as well.

@swissspidy
Copy link
Member Author

@thelovekesh should be fixed now

@thelovekesh
Copy link
Member

It seems like the requests library is not PHP 8.4 compatible. We can probably ignore those failing tests for now.

@swissspidy
Copy link
Member Author

@thelovekesh Please see wp-cli/wp-cli#5946

PHP 8.4 is in alpha anyway and all 8.4 tests are marked as allowed to fail.

@swissspidy swissspidy merged commit d908c57 into main May 7, 2024
36 of 38 checks passed
@swissspidy swissspidy deleted the fix-tests branch May 7, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants