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

Command icon 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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bbrala created an issue. See original summary.

bbrala’s picture

Title: Remove rebuildRoutes from FileUploadtest where possible » Remove rebuildAll from FileUploadtest where possible
Issue summary: View changes

mohit.bansal623 made their first commit to this issue’s fork.

mohit.bansal623’s picture

Status: Active » Needs review

Removed unnecessary calls for rebuildAll(). Please review.

longwave’s picture

Status: Needs review » Reviewed & tested by the community

Tests are still passing, so this seems valid to me.

larowlan made their first commit to this issue’s fork.

larowlan’s picture

Status: Reviewed & tested by the community » Fixed

Nice one

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.