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.
$modules
should be protected. This was true in D8 (and D7 for that matter) but will now be enforced in D9 since $modules is now a protected property in tests
Likewise, setUp()
should be protected. One of the tests does this, the other does not. See https://api.drupal.org/api/drupal/core%21tests%21Drupal%21Tests%21Browse...
Comment | File | Size | Author |
---|---|---|---|
#2 | 3135325-2-member-visibility-in-tests.patch | 1.25 KB | TR |
Comments
Comment #2
TR CreditAttribution: TR commentedPatch.
Comment #4
vuilThank you!
I set the issue status as Fixed.