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 the test Drupal\KernelTests\Core\Database\UpdateComplexTest::testUpdateExpression() there are two instances with the use of $GLOBALS['larry_test']
. Let use remove them.
Comment | File | Size | Author |
---|---|---|---|
larry_should_not_use_globals.patch | 1009 bytes | daffie | |
Comments
Comment #2
krknth CreditAttribution: krknth as a volunteer and at Valuebound commentedLooks like its fair to remove those global values. Moving it RTBC
Comment #3
xjmI confirmed these are the only instances of Larry testing global state from tests:
Line has not been changed since #1598568: Convert database.test to PSR-0 and dates to #276276: Tests needed: Database layer. I think it is safe to remove this. ;)
Comment #6
xjmCommitted to 8.4.x and 8.3.x. Thanks!