Skip to content

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
@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.

3 participants