function FilterSecurityTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/filter/filter.test, line 847

Class

FilterSecurityTestCase
Security tests for missing/vanished text formats or filters.

Code

function setUp() {
    parent::setUp('php', 'filter_test');
    $this->admin_user = $this->drupalCreateUser(array(
        'administer modules',
        'administer filters',
        'administer site configuration',
    ));
    $this->drupalLogin($this->admin_user);
}

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