You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Moodle 4.4 when running the Behat tests you get the following failures:
001 Scenario: Public questionnaire instances have responses visible in their respective courses # /var/www/moodle/mod/questionnaire/tests/behat/public_questionnaire.feature:28
And I add a "Questionnaire" to section "1" and I fill the form with: # /var/www/moodle/mod/questionnaire/tests/behat/public_questionnaire.feature:42
Deprecated step, rather than using this step you can:
- behat_course::i_add_to_course_section_and_i_fill_the_form_with
- Set $CFG->behat_usedeprecated in config.php to allow the use of deprecated steps
if you don't have any other option (Exception)
002 Scenario: Teacher should not see responses for a questionnaire using a public instance # /var/www/moodle/mod/questionnaire/tests/behat/public_questionnaire_teacher.feature:80
And I add a "Questionnaire" to section "1" and I fill the form with: # /var/www/moodle/mod/questionnaire/tests/behat/public_questionnaire_teacher.feature:45
Deprecated step, rather than using this step you can:
- behat_course::i_add_to_course_section_and_i_fill_the_form_with
- Set $CFG->behat_usedeprecated in config.php to allow the use of deprecated steps
if you don't have any other option (Exception)
003 Scenario: Add a questionnaire from a public questionnaire # /var/www/moodle/mod/questionnaire/tests/behat/view_questionnaire.feature:32
And I add a "Questionnaire" to section "1" # /var/www/moodle/mod/questionnaire/tests/behat/view_questionnaire.feature:74
Deprecated step, rather than using this step you can:
- behat_course::i_add_to_course_section
- behat_course::i_add_to_section_using_the_activity_chooser
- Set $CFG->behat_usedeprecated in config.php to allow the use of deprecated steps
if you don't have any other option (Exception)
It looks like this is because i_add_to_course_section() and i_add_to_section_and_i_fill_the_form_with() was deprecated in 4.1.9, 4.2.6 and 4.3.3 by MDL-79029.
With Moodle 4.4 when running the Behat tests you get the following failures:
It looks like this is because
i_add_to_course_section()
andi_add_to_section_and_i_fill_the_form_with()
was deprecated in 4.1.9, 4.2.6 and 4.3.3 by MDL-79029.Environment: Moodle 4.4.1+ (Build: 20240712), PHP 8.1.19, mod_questionnaire 2022121600.02.
The text was updated successfully, but these errors were encountered: