Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]
Test restore logic.
Copyright: | 2019 The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 68 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
qtype_essay_restore_testcase:: (1 method):
test_restore_create_missing_qtype_essay_options()
Class: qtype_essay_restore_testcase - X-Ref
Test restore logic.test_restore_create_missing_qtype_essay_options() X-Ref |
Test missing qtype_essay_options creation. Old backup files may contain essays with no qtype_essay_options record. During restore, we add default options for any questions like that. That is what is tested in this file. |