Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
node.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
16 Oct 2012 at 15:45 UTC
Updated:
29 Jul 2014 at 21:21 UTC
Jump to comment: Most recent file
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 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 commentedAll tearDown() functions are now deleted.
Comment #4
aspilicious commentedThnx!
Comment #5
catchCommitted/pushed to 8.x. Thanks!