You are here

public function PathfilterTestCase::setUp in Path Filter 6.2

Same name and namespace in other branches
  1. 6 tests/pathfilter.test \PathfilterTestCase::setUp()
  2. 7 tests/pathfilter.test \PathfilterTestCase::setUp()

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

tests/pathfilter.test, line 27
Tests for Path Filter

Class

PathfilterTestCase

Code

public function setUp() {
  parent::setUp('pathfilter');
  $privileged_user = $this
    ->drupalCreateUser(array(
    'create story content',
  ));
  $this
    ->drupalLogin($privileged_user);
  variable_set('clean_url', 1);
}