function FilterHooksTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

modules/filter/filter.test, line 1904

Class

FilterHooksTestCase
Tests for Filter's hook invocations.

Code

function setUp() {
    parent::setUp('block', 'filter_test');
    $admin_user = $this->drupalCreateUser(array(
        'administer filters',
        'administer blocks',
    ));
    $this->drupalLogin($admin_user);
}

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