Skip to content

Internal: Fix filing PHPUnit tests [TMZ-1050]#670

Merged
rami-elementor merged 1 commit into
mainfrom
TMZ-1050-fix-failing-phpunit-tests
Jun 23, 2026
Merged

Internal: Fix filing PHPUnit tests [TMZ-1050]#670
rami-elementor merged 1 commit into
mainfrom
TMZ-1050-fix-failing-phpunit-tests

Conversation

@rami-elementor

@rami-elementor rami-elementor commented Jun 22, 2026

Copy link
Copy Markdown
Member

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.yml should 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

@rami-elementor rami-elementor requested a review from hein-obox June 22, 2026 19:43
@rami-elementor rami-elementor changed the title Internal: Fix filing Hello theme PHPUnit tests [TMZ-1050] Internal: Fix filing PHPUnit tests [TMZ-1050] Jun 22, 2026
@rami-elementor rami-elementor merged commit e81c698 into main Jun 23, 2026
43 checks passed
@rami-elementor rami-elementor deleted the TMZ-1050-fix-failing-phpunit-tests branch June 23, 2026 08:02
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