You are here

public function AnswersBestTestCase::setUp in Answers 7.4

Enable modules and create users with specific permissions.

Overrides DrupalWebTestCase::setUp

1 call to AnswersBestTestCase::setUp()
AnswersThemeBestTestCase::setUp in answers_theme/answers_theme.test
Enable modules and create users with specific permissions.
1 method overrides AnswersBestTestCase::setUp()
AnswersThemeBestTestCase::setUp in answers_theme/answers_theme.test
Enable modules and create users with specific permissions.

File

answers_best_answer/answers_best_answer.test, line 33
Tests for answers_best_answer.module.

Class

AnswersBestTestCase
Tests the functionality of the answers_userpoints module admin settings.

Code

public function setUp() {
  parent::setUp('answers_best_answer');
  $this->answersUser = $this
    ->drupalCreateUser(array(
    'delete own answers_question content',
    'delete own answers_answer content',
  ));
}