Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]
Restore date tests.
Copyright: | 2017 Adrian Greeve <adrian@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 413 lines (17 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
restore_stepslib_date_testcase:: (8 methods):
test_grade_item_date_restore()
test_course_section_date_restore()
test_badge_date_restore()
test_calendarevents_date_restore()
test_course_completion_date_restore()
test_grade_grade_date_restore()
test_usercompletion_date_restore()
test_question_attempt_steps_date_restore()
Class: restore_stepslib_date_testcase - X-Ref
Restore date tests.test_grade_item_date_restore() X-Ref |
Restoring a manual grade item does not result in the timecreated or timemodified dates being changed. |
test_course_section_date_restore() X-Ref |
The course section timemodified date does not get rolled forward when the course is restored. |
test_badge_date_restore() X-Ref |
Test that the timecreated and timemodified dates are not rolled forward when restoring badge data. |
test_calendarevents_date_restore() X-Ref |
Test that course calendar events timemodified field is not rolled forward when restoring the course. |
test_course_completion_date_restore() X-Ref |
Testing that the timeenrolled, timestarted, and timecompleted fields are not rolled forward / back when doing a course restore. |
test_grade_grade_date_restore() X-Ref |
Testing that the grade grade date information is not changed in the gradebook when a course restore is performed. |
test_usercompletion_date_restore() X-Ref |
Checking that the user completion of an activity relating to the timemodified field does not change when doing a course restore. |
test_question_attempt_steps_date_restore() X-Ref |
Ensuring that the timemodified field of the question attempt steps table does not change when a course restore is done. |