public function AnswersBestViewTestCase::setUp in Answers 7.4
Enable modules and create users with specific permissions.
Overrides DrupalWebTestCase::setUp
1 call to AnswersBestViewTestCase::setUp()
- AnswersThemeBestViewTestCase::setUp in answers_theme/
answers_theme.test - Enable modules and create users with specific permissions.
1 method overrides AnswersBestViewTestCase::setUp()
- AnswersThemeBestViewTestCase::setUp in answers_theme/
answers_theme.test - Enable modules and create users with specific permissions.
File
- answers_best_answer/
answers_best_answer.test, line 234 - Tests for answers_best_answer.module.
Class
- AnswersBestViewTestCase
- Tests the functionality of the answers_userpoints module admin settings.
Code
public function setUp() {
parent::setUp('answers_best_answer');
$this->answersUser = $this
->drupalCreateUser();
}