| Línea 39... |
Línea 39... |
| 39 |
* @package core_question
|
39 |
* @package core_question
|
| 40 |
* @category test
|
40 |
* @category test
|
| 41 |
* @copyright 2009 The Open University
|
41 |
* @copyright 2009 The Open University
|
| 42 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
42 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
| 43 |
*/
|
43 |
*/
|
| 44 |
class questionattempt_db_test extends \data_loading_method_test_base {
|
44 |
final class questionattempt_db_test extends \data_loading_method_test_base {
|
| 45 |
public function test_load(): void {
|
45 |
public function test_load(): void {
|
| 46 |
$records = new question_test_recordset(array(
|
46 |
$records = new question_test_recordset(array(
|
| 47 |
array('questionattemptid', 'contextid', 'questionusageid', 'slot',
|
47 |
array('questionattemptid', 'contextid', 'questionusageid', 'slot',
|
| 48 |
'behaviour', 'questionid', 'variant', 'maxmark', 'minfraction', 'maxfraction', 'flagged',
|
48 |
'behaviour', 'questionid', 'variant', 'maxmark', 'minfraction', 'maxfraction', 'flagged',
|
| 49 |
'questionsummary', 'rightanswer', 'responsesummary', 'timemodified',
|
49 |
'questionsummary', 'rightanswer', 'responsesummary', 'timemodified',
|