Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 41... Línea 41...
41
 
41
 
42
    /**
42
    /**
43
     * Tests a backup and restore adds the required section option data
43
     * Tests a backup and restore adds the required section option data
44
     * when the same course format is used.
44
     * when the same course format is used.
45
     */
45
     */
46
    public function test_course_format_options_restore() {
46
    public function test_course_format_options_restore(): void {
Línea 47... Línea 47...
47
        global $DB, $CFG;
47
        global $DB, $CFG;
48
 
48
 
49
        $this->resetAfterTest(true);
49
        $this->resetAfterTest(true);
Línea 74... Línea 74...
74
 
74
 
75
    /**
75
    /**
76
     * Tests an import into the same subject successfully
76
     * Tests an import into the same subject successfully
77
     * restores the options without error.
77
     * restores the options without error.
78
     */
78
     */
79
    public function test_course_format_options_import_myself() {
79
    public function test_course_format_options_import_myself(): void {
Línea 80... Línea 80...
80
        global $DB, $CFG;
80
        global $DB, $CFG;
81
 
81
 
82
        $this->resetAfterTest(true);
82
        $this->resetAfterTest(true);
Línea 112... Línea 112...
112
     *
112
     *
113
     * It is a future enhancement to copy;
113
     * It is a future enhancement to copy;
114
     * 1. Only the relevant options.
114
     * 1. Only the relevant options.
115
     * 2. Only the data associated with relevant options.
115
     * 2. Only the data associated with relevant options.
116
     */
116
     */
117
    public function test_course_format_options_restore_new_format() {
117
    public function test_course_format_options_restore_new_format(): void {
118
        global $DB, $CFG;
118
        global $DB, $CFG;
Línea 119... Línea 119...
119
 
119
 
120
        $this->resetAfterTest(true);
120
        $this->resetAfterTest(true);