Internal: Fix filing PHPUnit tests [TMZ-1050]#670
Merged
Conversation
hein-obox
approved these changes
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The issue:
The CI failure is caused by Elementor 4.x requiring WordPress 6.8+ while hello-theme still tests WordPress 6.5/6.6.
Elementor never loads on those WordPress versions, so
Elementor_Test_Base::setUp()fails.The solution:
Updating the WordPress version matrix in
.github/workflows/phpunit.ymlshould fix the issue.✨ PR Description
1. Problem & Context
PHPUnit test matrix was testing against outdated WordPress versions (6.5, 6.6). This PR updates to more recent versions to ensure Hello theme compatibility with current WordPress releases (TMZ-1050).
2. What Changed (Where)
.github/workflows/phpunit.yml: WordPress test matrix versions updated from['nightly', 'latest', '6.6', '6.5']to['nightly', 'latest', '6.9', '6.8'].3. How It Works
CI workflow runs PHPUnit tests against the new matrix combinations. Each WordPress version paired with five PHP versions (7.4–8.3) for comprehensive compatibility coverage.
4. Risks
None. Bumping to newer WordPress versions increases test coverage relevance without breaking changes to test infrastructure.
Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how