Skip to content

fix(tests): align template row assertion with loaded fields - #2477

Merged
Seiger merged 1 commit into
evolution-cms:3.5.xfrom
MiddleSokilAI:sokil/fix-template-row-ci
Sep 24, 2026
Merged

Seiger merged 1 commit into
evolution-cms:3.5.xfrom
MiddleSokilAI:sokil/fix-template-row-ci

Conversation

@MiddleSokilAI

Copy link
Copy Markdown
Collaborator

The 3.5.x unit-test matrix fails because DocumentParserHookTest still expects TemplateProcessor::templateRow() to select only three fields. The existing template-row query also loads templatealias and content, so the source assertion fails even though the shared single-row lookup remains in place.

This updates the assertion to match the current five-field select. No runtime behavior changes.

Validation: full Pest suite on PHP 8.3 and 8.4, 942 passed and 4698 assertions on each version; php -l and git diff --check passed. Local PHP 8.5 lacks DOM, so the Actions matrix will verify that version.

@Seiger
Seiger merged commit e26b340 into evolution-cms:3.5.x Sep 24, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants