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