function PageEditTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/node/node.test, line 327

Class

PageEditTestCase
Tests the node edit functionality.

Code

function setUp() {
    parent::setUp();
    $this->web_user = $this->drupalCreateUser(array(
        'edit own page content',
        'create page content',
    ));
    $this->admin_user = $this->drupalCreateUser(array(
        'bypass node access',
        'administer nodes',
    ));
}

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