moodle/mod/quiz/tests
PraiseSatan 982d1bb1c8 MDL-69496 quiz: Only validate completion if unlocked
Quiz completion settings are only validated if they are unlocked.
Undefined behaviour in the forms API results in the completion
settings 'require passing grade' and 'completion attempts exhausted'
not being sent to the process options function if completion
settings are locked. This resulted in the completion attempts
exhausted setting being disabled whenever the quiz was saved
as it did not detect the require passing grade setting.
This changes the behaviour so that validation is only performed
if the completion settings are unlocked.
A behat test is included to ensure the setting does not change.
2021-11-17 09:11:29 +11:00
..
behat MDL-69496 quiz: Only validate completion if unlocked 2021-11-17 09:11:29 +11:00
fixtures MDL-72743 mod_quiz: verify user mapping prior to restoring attempts. 2021-10-21 08:26:50 +01:00
generator MDL-54907 quiz generator: defaults should match a new Moodle install 2020-11-27 14:57:36 +00:00
attempt_test.php MDL-54907 quiz: better timefinish for attempts finished asynchronously 2020-11-27 17:51:55 +00:00
attempt_walkthrough_from_csv_test.php MDL-67673 phpunit: Move tests to use new phpunit_dataset 2020-10-21 12:46:00 +02:00
attempt_walkthrough_test.php MDL-67183 questions: get_question & get_behaviour only init if required 2020-05-19 20:52:07 +01:00
attempts_test.php MDL-54907 quiz unit tests: clean up code style in attempts_test.php 2020-11-27 18:29:25 +00:00
calendar_event_modified_test.php MDL-60062 calendar: prevent drag and drop of override events 2017-11-07 05:47:18 +00:00
custom_completion_test.php MDL-52206 core: Update new activity_custom_completion 2021-10-04 19:45:47 +08:00
dates_test.php MDL-71410 mod_quiz: implement activity_dates for the quiz module 2021-04-27 14:32:26 +10:00
events_test.php MDL-52456 Quiz: notification message for students. 2021-10-19 20:06:16 +07:00
external_test.php MDL-52206 quiz: Remove completionpass completion from quiz 2021-10-04 19:44:03 +08:00
generator_test.php MDL-69253 mod_quiz: unit test for the last commit 2020-08-04 14:37:25 +01:00
lib_test.php MDL-52206 quiz: Remove completionpass completion from quiz 2021-10-04 19:44:03 +08:00
local_structure_slot_random_test.php MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:00 +02:00
locallib_test.php MDL-72137 Quiz: Quiz submission email notification update 2021-08-23 15:38:33 +07:00
privacy_legacy_quizaccess_polyfill_test.php MDL-63564 mod_quiz: Added delete_quizaccess_data_for_users to polyfill 2018-11-02 14:04:25 +08:00
privacy_provider_test.php MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:00 +02:00
quiz_notify_attempt_manual_grading_completed_test.php MDL-52456 Quiz: notification message for students. 2021-10-19 20:06:16 +07:00
quiz_question_bank_view_test.php MDL-71679 mod_quiz: Updates for new qbank api 2021-10-04 15:44:25 +11:00
quizdisplayoptions_test.php MDL-43874 quiz, teacher comments should respect display options. 2014-01-27 12:01:32 +00:00
quizobj_test.php Merge branch '44180-27' of git://github.com/samhemelryk/moodle 2014-03-05 12:47:17 +08:00
repaginate_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
reportlib_test.php MDL-63730 quiz: Fix unit tests to use the new way of percents display 2018-10-26 14:26:12 +02:00
restore_attempt_test.php MDL-72950 phpunit: Remove skipped tests now that the issue is fixed. 2021-11-05 18:52:18 +01:00
restore_date_test.php MDL-9367 restore: Roll only configuration dates 2017-08-01 10:46:37 +05:30
restore_override_test.php MDL-65555 mod_quiz: fix group override backup and restore 2019-07-16 11:16:03 +10:00
structure_test.php MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
tags_test.php MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:00 +02:00