\Drupal\Tests\layout_discovery\Kernel\LayoutTest passes on DrupalCI but not locally

Created on 13 December 2018, over 5 years ago
Updated 26 February 2023, over 1 year ago

Problem/Motivation

Whilst working on πŸ› Remove potential support for engine-less themes Needs work running \Drupal\Tests\layout_discovery\Kernel\LayoutTest::testRenderLayout() fails locally. It is running on DrupalCI and passing.

Changing the test to do:

    $html[] = $build_id_input;
    $html[] = $form_id_input;
    $html[] = '</form>';

instead of

    $html[] = $build_id_input . $form_id_input . '</form>';

makes it pass locally but I suspect it'll make it fail on DrupalCI.

Proposed resolution

Work out why...

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

N/a

πŸ› Bug report
Status

Closed: outdated

Version

10.1 ✨

Component
Layout discoveryΒ  β†’

Last updated 7 days ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

    I tested this on Drupal 10.1.x and \Drupal\Tests\layout_discovery\Kernel\LayoutTest::testRenderLayout passed locally. I use ddev.

    I can't suggest when this was fixed. I looked at the file history since this was submitted and I see code standards improvements. And the LOC in the IS is still in the test.

Production build 0.69.0 2024