Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Core tests outside of Color module install the color module. These need to be modified to maintain test coverage and possible move of tests to Color.
At least these files need to be updated.
\Drupal\Tests\field_ui\Kernel\EntityDisplayTest
\Drupal\Tests\system\Kernel\Extension\ModuleHandlerTest
\Drupal\Tests\system\Functional\Module\DependencyTest
\Drupal\Tests\help\Functional\HelpTest
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#3 | 3270940-3.patch | 13.96 KB | quietone |
#3 | interdiff-2-3.txt | 3.44 KB | quietone |
#2 | 3270940-2.patch | 10.83 KB | quietone |
Comments
Comment #2
quietone CreditAttribution: quietone at PreviousNext commentedThis has a change to module_test,module, which uses color, so more tests may break.
Comment #3
quietone CreditAttribution: quietone at PreviousNext commentedUploaded the wrong patch, that is wrong for EntityDisplayTest.php. This adds changes to field_test module.
Comment #4
catchIt might be worth a follow-up to make these tests use test modules instead of real ones, but looks good otherwise.
Comment #5
alexpottCommitted and pushed 25d335d5cd to 10.0.x and 5883174087 to 9.4.x and 48cc607d48 to 9.3.x. Thanks!
Backported to 9.3.x to keep tests aligned.