You are here

public function WordLinkWebTestCase::setUp in Word Link 7.2

Prepare for test.

Overrides DrupalWebTestCase::setUp

File

tests/word_link.test, line 28
Tests for the Word Link module.

Class

WordLinkWebTestCase
Base class for Word Link web test cases.

Code

public function setUp() {
  parent::setUp(array(
    'word_link',
  ));

  // Create and log in our privileged user.
  $this->privilegedUser = $this
    ->drupalCreateUser(array(
    'view word link',
    'create word link',
    'edit word link',
    'delete word link',
  ));
  $this
    ->drupalLogin($this->privilegedUser);
}