You are here

function ScaleTestCase::setUp in Quiz 7.6

Same name and namespace in other branches
  1. 8.6 question_types/quiz_scale/quiz_scale.test \ScaleTestCase::setUp()
  2. 8.5 question_types/quiz_scale/quiz_scale.test \ScaleTestCase::setUp()
  3. 7.5 question_types/scale/scale.test \ScaleTestCase::setUp()

Implementing setUp() to enable scale module testing

Overrides QuizQuestionTestCase::setUp

File

question_types/scale/scale.test, line 31
Test suite for scale question type module.

Class

ScaleTestCase
Test class for scale questions.

Code

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