function NodeAccessCacheRedirectWarningTest::setUp

Overrides NodeTestBase::setUp

File

core/modules/node/tests/src/Functional/NodeAccessCacheRedirectWarningTest.php, line 28

Class

NodeAccessCacheRedirectWarningTest
Tests the node access grants cache context service.

Namespace

Drupal\Tests\node\Functional

Code

protected function setUp() : void {
    parent::setUp();
    node_access_rebuild();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.