diff --git a/tests/upgrade_test.php b/tests/upgrade_test.php index a33eb16..deffd3f 100644 --- a/tests/upgrade_test.php +++ b/tests/upgrade_test.php @@ -30,6 +30,9 @@ public function test_upgrade_2024090900_completion_changes() { $course2_mod1 = $this->create_legacy_module($course2->id); $course_3_mod1 = $this->create_legacy_module($course3->id); + // mock global function upgrade_plugin_savepoint, required by upgrade.php/xmldb_local_adler_upgrade + function upgrade_plugin_savepoint($v1, $v2, $v3, $v4) {} + // call cud xmldb_local_adler_upgrade(2024090800);