Needs review
Project:
Drupal core
Version:
main
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Aug 2026 at 11:45 UTC
Updated:
12 Aug 2026 at 07:09 UTC
Jump to comment: Most recent
Comments
Comment #3
catchComment #4
catchFixed the last dozen or so remaining test failures.
Ended up adding default theme support to the installer too, since otherwise I think we'd have to rebuild the container whenever a non-stark theme is installed via the class property or similar. Doing this fixed all the tests using the starterkit theme via a class property.
A handful of test modules don't specify dependencies (because they were only ever installed after the module they depend on), so added those - straight bug in the test modules.
And a couple of other fixes which I've self-reviewed in the MR.
There is non-zero test fallout from this change but overall it's not very much in the scheme of things.
Comment #5
nicxvan commentedI think we need a CR here for the deprecation and we need to update the deprecation links.
I think a follow up for the core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php rebuild is probably enough, I suspect your suspicion is correct and it's probably in a test module.
Comment #6
catchAdded a CR here: https://www.drupal.org/node/3616201
Comment #7
catchUpdated the deprecations to point to the CR. Also opened #3616202: Remove ::rebuildContainer() call in NumericFormatPluralTest.
Comment #8
catchCherry-picked a commit from @mstrelan based on #3616202-5: Remove ::rebuildContainer() call in NumericFormatPluralTest, that's good to narrow down the workaround to the minimum.