ManageGitIgnoreTest failing in HEAD

Created on 15 March 2024, 8 months ago
Updated 29 March 2024, 8 months ago

Problem/Motivation

New unit test fails in HEAD because expected Composer output has changed in CI:

    1)
    Drupal\Tests\Composer\Plugin\Scaffold\Functional\ManageGitIgnoreTest::testUnmanagedGitIgnoreWhenGitNotAvailable
    Failed asserting that two strings are equal.
    --- Expected
    +++ Actual
    @@ @@
    -'Scaffolding files for fixtures/drupal-assets-fixture:\n
    +'Composer could not detect the root package
    (fixtures/drupal-composer-drupal-project) version, defaulting to '1.0.0'.
    See https://getcomposer.org/root-version\n
    +Scaffolding files for fixtures/drupal-assets-fixture:\n
       - Copy [web-root]/.csslintrc from assets/.csslintrc\n
       - Copy [web-root]/.editorconfig from assets/.editorconfig\n
       - Copy [web-root]/.eslintignore from assets/.eslintignore\n

Steps to reproduce

Proposed resolution

Check for string contains instead of an exact match?

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

10.2 ✨

Component
ComposerΒ  β†’

Last updated about 22 hours ago

No maintainer
Created by

πŸ‡¬πŸ‡§United Kingdom longwave UK

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024