See Release Notes
Long Term Support Release
(no description)
File Size: | 154 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
quiz_attempt_deleted_test:: (4 methods):
test_queue_task_on_deletion()
test_queue_single_task_for_multiple_deletions()
test_queue_new_task_after_processing()
test_queue_separate_tasks_for_multiple_quizzes()
Class: quiz_attempt_deleted_test - X-Ref
Unit tests for attempt_deleted observertest_queue_task_on_deletion() X-Ref |
Deleting an attempt should queue the recalculation task for that quiz in 1 hour's time. return: void |
test_queue_single_task_for_multiple_deletions() X-Ref |
Deleting multiple attempts of the same quiz should only queue one instance of the task. return: void |
test_queue_new_task_after_processing() X-Ref |
Deleting another attempt after processing the task should queue a new task. return: void |
test_queue_separate_tasks_for_multiple_quizzes() X-Ref |
Deleting attempts from different quizzes will queue a task for each. return: void |