Línea 32... |
Línea 32... |
32 |
*
|
32 |
*
|
33 |
* @package core_question
|
33 |
* @package core_question
|
34 |
* @copyright 2012 The Open University
|
34 |
* @copyright 2012 The Open University
|
35 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
35 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
36 |
*/
|
36 |
*/
|
37 |
class questionusagebyactivity_data_test extends \data_loading_method_test_base {
|
37 |
final class questionusagebyactivity_data_test extends \data_loading_method_test_base {
|
38 |
public function test_load(): void {
|
38 |
public function test_load(): void {
|
39 |
$scid = \context_system::instance()->id;
|
39 |
$scid = \context_system::instance()->id;
|
40 |
$records = new question_test_recordset(array(
|
40 |
$records = new question_test_recordset(array(
|
41 |
array('qubaid', 'contextid', 'component', 'preferredbehaviour',
|
41 |
array('qubaid', 'contextid', 'component', 'preferredbehaviour',
|
42 |
'questionattemptid', 'questionusageid', 'slot',
|
42 |
'questionattemptid', 'questionusageid', 'slot',
|