From 9ea20daed82e65ef3f51b308a4695b57f649b3af Mon Sep 17 00:00:00 2001 From: Miriam Leung Date: Fri, 11 Apr 2025 16:13:36 -0700 Subject: [PATCH 1/3] Moodle4.5 upgrade --- .github/workflows/ci.yml | 2 +- version.php | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e47d9a..c86ad1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: fail-fast: false matrix: php: ["8.2", "8.3"] - moodle-branch: ["MOODLE_404_STABLE"] + moodle-branch: ["MOODLE_405_STABLE"] database: [pgsql, mariadb] steps: diff --git a/version.php b/version.php index b98a855..94c888f 100644 --- a/version.php +++ b/version.php @@ -24,6 +24,7 @@ defined('MOODLE_INTERNAL') || die; -$plugin->version = 2024091900; // The current plugin version (Date: YYYYMMDDXX). -$plugin->requires = 2024041600; // Requires this Moodle version. +$plugin->version = 2025041100; // The current plugin version (Date: YYYYMMDDXX). +$plugin->requires = 2024100100; // Requires this Moodle version. $plugin->component = 'tool_externaltaskmonitor'; // Full name of the plugin (used for diagnostics). +$plugin->supported = [405, 405]; From ee5739054a817c1d290c1b06ed386d199fdfb3b9 Mon Sep 17 00:00:00 2001 From: Miriam Leung Date: Mon, 14 Apr 2025 09:46:35 -0700 Subject: [PATCH 2/3] explicitly call the setup() method on the parent class of our api test case. --- tests/monitor_test.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/monitor_test.php b/tests/monitor_test.php index a34eb2a..e680bce 100644 --- a/tests/monitor_test.php +++ b/tests/monitor_test.php @@ -52,6 +52,7 @@ final class monitor_test extends externallib_advanced_testcase { * {@inheritDoc} */ protected function setUp(): void { + parent::setUp(); $this->resetAfterTest(); } From efd9cc4fe6343ceab25b5b00abec0ed97430beee Mon Sep 17 00:00:00 2001 From: Miriam Leung Date: Mon, 14 Apr 2025 09:51:51 -0700 Subject: [PATCH 3/3] fix version required value --- version.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.php b/version.php index 94c888f..66504a2 100644 --- a/version.php +++ b/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die; -$plugin->version = 2025041100; // The current plugin version (Date: YYYYMMDDXX). -$plugin->requires = 2024100100; // Requires this Moodle version. +$plugin->version = 2025041400; // The current plugin version (Date: YYYYMMDDXX). +$plugin->requires = 2024100700; // Requires this Moodle version. $plugin->component = 'tool_externaltaskmonitor'; // Full name of the plugin (used for diagnostics). $plugin->supported = [405, 405];