function NodeBlockTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/node/node.test, line 847

Class

NodeBlockTestCase
Tests the availability of the syndicate block.

Code

function setUp() {
    parent::setUp();
    // Create and login user
    $admin_user = $this->drupalCreateUser(array(
        'administer blocks',
    ));
    $this->drupalLogin($admin_user);
}

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