You are here

function MultichoiceTestCase::setUp in Quiz 7.6

Same name and namespace in other branches
  1. 7.5 question_types/multichoice/multichoice.test \MultichoiceTestCase::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.

Overrides QuizQuestionTestCase::setUp

File

question_types/multichoice/multichoice.test, line 23
Test suite for choice Questions type module.

Class

MultichoiceTestCase
Test class for multichoice questions.

Code

function setUp($modules = array(), $admin_permissions = array(), $user_permissions = array()) {
  parent::setUp(array(
    'multichoice',
  ));
}