You are here

public function QuizRandomTestCase::setUp in Quiz 7.5

Same name and namespace in other branches
  1. 7.6 tests/QuizRandomTestCase.test \QuizRandomTestCase::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/QuizRandomTestCase.test, line 19

Class

QuizRandomTestCase
Tests for random questions.

Code

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