You are here

public function ScaleTestCase::setUp in Quiz 7.5

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.6 question_types/scale/scale.test \ScaleTestCase::setUp()

Implementing setUp() to enable scale module testing.

Overrides QuizQuestionTestCase::setUp

File

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

Class

ScaleTestCase
Test class for scale questions.

Code

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