You are here

public function QuizAccessTestCase::setUp in Quiz 7.5

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/QuizAccessTestCase.test, line 13
Unit tests for the quiz question Module.

Class

QuizAccessTestCase
Test aspects of quiz access and permissions.

Code

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