function TrueFalseTestCase::setUp in Quiz 7.6
Same name and namespace in other branches
- 7.5 question_types/truefalse/truefalse.test \TrueFalseTestCase::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 QuizQuestionTestCase::setUp
File
- question_types/
truefalse/ truefalse.test, line 23 - Unit tests for the truefalse Module.
Class
- TrueFalseTestCase
- Test class for true false questions.
Code
function setUp($modules = array(), $admin_permissions = array(), $user_permissions = array()) {
parent::setUp(array(
'truefalse',
));
}