function PathTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/path/path.test, line 20

Class

PathTestCase
Provides a base class for testing the Path module.

Code

function setUp() {
    parent::setUp('path');
    // Create test user and login.
    $web_user = $this->drupalCreateUser(array(
        'create page content',
        'edit own page content',
        'administer url aliases',
        'create url aliases',
        'access content overview',
    ));
    $this->drupalLogin($web_user);
}

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