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
It seems FileUploadtest
uses rebuildAll
way too much, even though it is not needed. I think this is not needed if the testmethod doesnt change settings multiple times, but perhaps even then.
We should remove the rebuildAll
calls where possible.
Issue fork drupal-3236255
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3236255-remove-rebuildall-from changes, plain diff MR !1208
- 9.3.x changes, plain diff MR !1209
Comments
Comment #2
bbralaComment #6
mohit.bansal623 CreditAttribution: mohit.bansal623 as a volunteer and at Axelerant commentedRemoved unnecessary calls for rebuildAll(). Please review.
Comment #7
longwaveTests are still passing, so this seems valid to me.
Comment #11
larowlanNice one