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
We shouldn't be calling drupal_flush_all_caches() directly in tests unless the test is testing drupal_flush_all_caches().
Proposed resolution
Remove call where possible OR replace with something better - ie. of smaller effect OR use $this->resetAll().
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3223267-2.patch | 6.33 KB | alexpott |
Comments
Comment #2
alexpottComment #3
daffie CreditAttribution: daffie commentedAll code changes look good to me.
The patch does what the Is is saying.
For me it is RTBC.
Comment #5
catchCommitted/pushed to 9.3.x and cherry-picked to 9.2.x. thanks!