function NodeAccessRebuildTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/node/node.test, line 1772

Class

NodeAccessRebuildTestCase
Verifies the rebuild functionality for the node_access table.

Code

function setUp() {
    parent::setUp();
    $web_user = $this->drupalCreateUser(array(
        'administer site configuration',
        'access administration pages',
        'access site reports',
    ));
    $this->drupalLogin($web_user);
    $this->web_user = $web_user;
}

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