Skip to content

Conversation

@swissspidy
Copy link
Member

After wp-cli/.github#157, WP_CLI_TEST_DBTYPE is now set to sqlite by default for unit tests, for improved cross-OS compatibility.

Thus, the unit tests need to account for different WP_CLI_TEST_DBTYPE values instead of assuming MySQL. Otherwise tests fail.

This fix is extracted from #274

@swissspidy swissspidy added this to the 5.0.3 milestone Oct 14, 2025
@swissspidy swissspidy requested a review from a team as a code owner October 14, 2025 08:48
@codecov
Copy link

codecov bot commented Oct 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@swissspidy swissspidy merged commit 197c05e into main Oct 14, 2025
51 checks passed
@swissspidy swissspidy deleted the fix/tests branch October 14, 2025 12:22
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