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
Found in #2737805: Convert web tests to browser tests for forum module that cache tags cannot be asserted because they are not returned in the HTTP responses.
Proposed resolution
BrowserTestBase needs to enable cache tags same as the deprecated WebTestBase does.
Remaining tasks
Patch.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | browsertest-cahce-tags-2751875-2.patch | 4.15 KB | klausi |
Comments
Comment #2
klausiPatch.
Comment #3
larowlanthx
Comment #4
dawehnerPerfect, reviewed the code in another issue already.
Comment #6
catchCommitted a055d6a and pushed to 8.2.x. Thanks!
Comment #7
dawehnerAny reason this is not pushed to 8.1.x as well?
Comment #8
catchNo good reason, no.
Comment #10
Wim LeersNice, this means parity with
\Drupal\simpletest\WebTestBase::initSettings()
.