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.
In #2822382: Make every $modules property protected on classes extending BrowserTestBase and KernelTestBase a number of tests were found that lie in BTB, but use WTB inheritance. Let's fix this.
Out of scope:
- Tests extend ContentTranslationUITestBase: #2948073: ContentTranslationUITestBase stragglers
- Tests with system/Entity dependency: #2946419: Entity: Convert system functional tests to phpunit
- Tests from rdf module: #2864035: Convert web tests to browser tests for rdf module
Comment | File | Size | Author |
---|---|---|---|
#8 | 2946425-8.patch | 966 bytes | Anonymous (not verified) |
#6 | out_of_scope.txt | 3.65 KB | Anonymous (not verified) |
#6 | 2946425-6.patch | 3.74 KB | Anonymous (not verified) |
#4 | 2946425-4.patch | 7.39 KB | Anonymous (not verified) |
#4 | interdiff-2-4.txt | 1.04 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedvaplas created an issue. See original summary.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #3
borisson_Unneeded blank line added.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commented@borisson_, thanks for review! Done.
Comment #5
LendudeSeems to overlap with #2948073: ContentTranslationUITestBase stragglers and #2864035: Convert web tests to browser tests for rdf module
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commented#5: fair points, added info about them to the IS.
Comment #7
dawehnerThank you for splitting out the unnecessary changes
Ideally we wouldn't touch this line. This is nothing here we need to worry about.
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commented@dawehner, thanks for review! You are right, after splitting this issue lost some of the tests, which extends
FileFieldTestBase
.NodeTranslationUITest
is really unnecessary change (it was due to #2948700: Casting $text value to string in responseContains/responseNotContains methods).Only one test remains
ContentTranslationLanguageChangeTest
. Perhaps, it can also be moved to #2948073: ContentTranslationUITestBase stragglers.Comment #9
alexpottCommitted and pushed a485956282 to 8.6.x and e644f945a2 to 8.5.x. Thanks!
As a test-only fix backported to 8.5.x