Skip to content

Update expected error message in unit tests#6032

Merged
mrsdizzie merged 1 commit intomainfrom
fix/phpunit-assertion
Jan 23, 2025
Merged

Update expected error message in unit tests#6032
mrsdizzie merged 1 commit intomainfrom
fix/phpunit-assertion

Conversation

@swissspidy
Copy link
Member

Looks like the error message returned by cURL changed from Failed to get url 'https://example.com': cURL error 77: error setting certificate verify locations: to Failed to get url 'https://example.com': cURL error 77: error setting certificate file:.

See https://github.com/wp-cli/wp-cli/actions/runs/12924442519/job/36043450327#step:8:97

This fixes the failing unit tests.

Note: we still have some other unrelated failing tests, see #6018

@swissspidy swissspidy added the scope:testing Related to testing label Jan 23, 2025
@swissspidy swissspidy added this to the 2.12.0 milestone Jan 23, 2025
@swissspidy swissspidy requested a review from a team as a code owner January 23, 2025 09:28
@mrsdizzie mrsdizzie merged commit 78fb639 into main Jan 23, 2025
43 of 46 checks passed
@mrsdizzie mrsdizzie deleted the fix/phpunit-assertion branch January 23, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants