You are here

public function QuizFeedbackTestCase::setUp in Quiz 7.5

Same name and namespace in other branches
  1. 7.6 tests/QuizFeedbackTestCase.test \QuizFeedbackTestCase::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 QuizTestCase::setUp

File

tests/QuizFeedbackTestCase.test, line 13
Unit tests for the quiz question Module.

Class

QuizFeedbackTestCase
Base test class for Quiz questions.

Code

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