Skip to content

Commit

Permalink
fix upgrade test
Browse files Browse the repository at this point in the history
  • Loading branch information
Glutamat42 committed Sep 30, 2024
1 parent bda4e1e commit 4c0ea1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/upgrade_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4c0ea1f

Please sign in to comment.