Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 38... Línea 38...
38
class async_restore_test extends \advanced_testcase {
38
class async_restore_test extends \advanced_testcase {
Línea 39... Línea 39...
39
 
39
 
40
    /**
40
    /**
41
     * Tests the asynchronous backup.
41
     * Tests the asynchronous backup.
42
     */
42
     */
43
    public function test_async_restore() {
43
    public function test_async_restore(): void {
Línea 44... Línea 44...
44
        global $CFG, $USER, $DB;
44
        global $CFG, $USER, $DB;
45
 
45
 
46
        $this->resetAfterTest(true);
46
        $this->resetAfterTest(true);
Línea 139... Línea 139...
139
    }
139
    }
Línea 140... Línea 140...
140
 
140
 
141
    /**
141
    /**
142
     * Tests the asynchronous restore will resolve in duplicate cases where the controller is already removed.
142
     * Tests the asynchronous restore will resolve in duplicate cases where the controller is already removed.
143
     */
143
     */
144
    public function test_async_restore_missing_controller() {
144
    public function test_async_restore_missing_controller(): void {
Línea 145... Línea 145...
145
        global $CFG, $USER, $DB;
145
        global $CFG, $USER, $DB;
146
 
146
 
147
        $this->resetAfterTest(true);
147
        $this->resetAfterTest(true);