function QuizNavigationTestCase::setUp in Quiz 7.6
Same name and namespace in other branches
- 7.5 tests/QuizNavigationTestCase.test \QuizNavigationTestCase::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/
QuizNavigationTestCase.test, line 13 - Unit tests for the quiz question Module.
Class
- QuizNavigationTestCase
- Base test class for Quiz questions.
Code
function setUp($modules = array(), $admin_permissions = array(), $user_permissions = array()) {
$modules[] = 'truefalse';
parent::setUp($modules);
}