You are here

public function AccessFilterResrictionTestCase::setUp in Access Filter 7

Set up the test environment.

Overrides DrupalWebTestCase::setUp

See also

DrupalWebTestCase::setUp()

File

./access_filter.test, line 108
Tests for access_filter.module

Class

AccessFilterResrictionTestCase

Code

public function setUp() {
  parent::setUp('access_filter');
  $this->user = $this
    ->drupalCreateUser(array(
    'access content',
  ));
  $this
    ->drupalLogin($this->user);
}