From f16e85e9d1062dc070ad06a7724e1a1d3ec7da8f Mon Sep 17 00:00:00 2001 From: ewallah Date: Tue, 15 Jun 2021 16:15:40 +0200 Subject: [PATCH 1/3] Update moodle_backup.feature --- tests/behat/moodle_backup.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/behat/moodle_backup.feature b/tests/behat/moodle_backup.feature index 4ccdd733..4c608d14 100644 --- a/tests/behat/moodle_backup.feature +++ b/tests/behat/moodle_backup.feature @@ -21,7 +21,7 @@ Feature: Backup and restore of moodle exports And I upload "mod/studentquiz/tests/fixtures/" file to "Files" filemanager And I press "Save changes" And I restore "" backup into a new course using this options: - And "//*[contains(@href, '#section-999')]" "xpath_element" should not exist + And "//*[contains(@href, '#section-999')]" "xpath_element" should exist And I log out Then the following "course enrolments" exist: | user | course | role | From 42a66e294d84e721bfc22ad612e1e3faf5c851ab Mon Sep 17 00:00:00 2001 From: ewallah Date: Tue, 15 Jun 2021 16:47:41 +0200 Subject: [PATCH 2/3] Update moodle_backup.feature --- tests/behat/moodle_backup.feature | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/behat/moodle_backup.feature b/tests/behat/moodle_backup.feature index 4c608d14..5692cd9b 100644 --- a/tests/behat/moodle_backup.feature +++ b/tests/behat/moodle_backup.feature @@ -21,7 +21,6 @@ Feature: Backup and restore of moodle exports And I upload "mod/studentquiz/tests/fixtures/" file to "Files" filemanager And I press "Save changes" And I restore "" backup into a new course using this options: - And "//*[contains(@href, '#section-999')]" "xpath_element" should exist And I log out Then the following "course enrolments" exist: | user | course | role | From d2b2651ab4390aca82b182eccd6beb0aa639230e Mon Sep 17 00:00:00 2001 From: ewallah Date: Fri, 17 Nov 2023 10:47:42 +0100 Subject: [PATCH 3/3] Incompatible with 403 This branch does not work with MOODLE_403_STABLE nor with PHP 8.2. The tests in Github actions are showing a lot of errors: https://github.com/studentquiz/moodle-mod_studentquiz/actions/runs/6894358494/job/18755961223 However MOODLE_403_STABLE users get the message 'There is a new version 2023081702 available!' --- version.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/version.php b/version.php index 74ce754e..2b27e2f5 100644 --- a/version.php +++ b/version.php @@ -26,6 +26,8 @@ $plugin->version = 2023081702; $plugin->requires = 2022041900; // Version MOODLE_4.0. +$plugin->supported = [400, 402]; +$plugin->incompatible = 403; $plugin->component = 'mod_studentquiz'; $plugin->maturity = MATURITY_STABLE; $plugin->release = 'v5.2.0';