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.
This is a sub-issue of #1775842: [meta] Convert all variables to state and/or config systems. This issue will convert variable 'node_access_test_private' to use the state() system.
This variable is used in four node access tests. For namespace purposes, renaming to 'node_access_test.private'.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1814402-teardown-removed.patch | 3.53 KB | moe4715 |
#1 | 1814402-1-convert-natp-variable.patch | 4.54 KB | Lars Toomre |
Comments
Comment #1
Lars Toomre CreditAttribution: Lars Toomre commentedHere is a locally untested patch that converts all occurrences of 'node_access_test_private' variable in core.
Comment #2
BerdirThere's no need for tearDown(), state is thrown away after the test execution just like everything else.
Comment #3
moe4715 CreditAttribution: moe4715 commentedAll tearDown() functions are now deleted.
Comment #4
aspilicious CreditAttribution: aspilicious commentedThnx!
Comment #5
catchCommitted/pushed to 8.x. Thanks!