You are here

public function QuizPageTestCase::setUp in Quiz 8.6

Same name and namespace in other branches
  1. 8.5 question_types/quiz_page/tests/src/Functional/QuizPageTestCase.test \QuizPageTestCase::setUp()
  2. 7.6 question_types/quiz_page/QuizPageTestCase.test \QuizPageTestCase::setUp()
  3. 7.5 question_types/quiz_page/QuizPageTestCase.test \QuizPageTestCase::setUp()

Set up a question test case.

Parameters

array $modules: Array of modules to enable.

array $admin_permissions: Array of admin permissions to add.

array $user_permissions: Array of user permissions to add.

Return value

void|false

Overrides QuizQuestionTestBase::setUp

File

question_types/quiz_page/tests/src/Functional/QuizPageTestCase.test, line 19

Class

QuizPageTestCase

Code

public function setUp($modules = array(), $admin_permissions = array(), $user_permissions = array()) {
  $modules[] = 'quiz_page';
  $modules[] = 'truefalse';
  parent::setUp($modules, $admin_permissions, $user_permissions);
}