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