Drupal\Tests\Composer\Plugin\VendorHardening\ConfigTest leaking configuration changes.

Created on 24 July 2020, over 4 years ago
Updated 5 January 2024, 12 months ago

Problem/Motivation

I am running the core drupal unit test suite using PHPUnit. The following failure is given.

Drupal\Tests\ComposerIntegrationTest::testVendorCleanup with data set #1 ('Drupal\Composer\Plugin\Vendor...Config', 'defaultConfig')
Failed asserting that an array contains 'behatted/mank'.

The string β€œBeHatted/Mank” is used in a different test, Drupal\Tests\Composer\Plugin\VendorHardening\ConfigTest

Steps to reproduce

Run PHPUnit against the entire unit test directory:

 <testsuite name="passing_unit">
      <directory suffix="Test.php">tests/Drupal/Tests</directory>
    </testsuite> 

Proposed resolution

Add * @runInSeparateProcess to ConfigTet:testMixedCaseConfigCleanupPackages

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

10.2 ✨

Component
ConfigurationΒ  β†’

Last updated 2 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States Beakerboy Kentucky

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024