MDL-81520 core: Fix test finality

This commit is contained in:
Andrew Nicols
2024-12-11 12:30:21 +08:00
parent 9dbf9e9829
commit cc54b4e78a
1582 changed files with 2022 additions and 1956 deletions
@@ -34,8 +34,8 @@ require_once(__DIR__ . '/helpers.php');
* @copyright 2012 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class questionusagebyactivity_data_test extends \data_loading_method_test_base {
public function test_load() {
final class questionusagebyactivity_data_test extends \data_loading_method_test_base {
public function test_load(): void {
$scid = \context_system::instance()->id;
$records = new question_test_recordset(array(
array('qubaid', 'contextid', 'component', 'preferredbehaviour',