Problem/Motivation

DrupalRestConnectorTest::testParseHandlerSingleRun() and testParseHandlerSubsequentCalls() compare the parse result of the drupal8-11.3.0 test package with a stored report. The report records the error for the deliberately broken Twig template as "Unexpected character ... at line 1". Current Twig adds the column ("at line 1 column 9"), so the comparison fails on CI and locally. Nothing in the parser changed.

Steps to reproduce

Proposed resolution

Regenerate the stored report with UPDATE_TESTS=1 as the test documents. Only that one line changes.

Remaining tasks

User interface changes

API changes

Data model changes

LLM disclosure

LLM was used to find, diagnose explain and fix this issue. With human review.

Comments

gábor hojtsy created an issue. See original summary.

  • 308f7276 committed on 3.0.x
    fix #3621240: DrupalRestConnectorTest fails since Twig reports the...
gábor hojtsy’s picture

Issue summary: View changes
gábor hojtsy’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.