Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 42... Línea 42...
42
    }
42
    }
Línea 43... Línea 43...
43
 
43
 
44
    /**
44
    /**
45
     * Test migrating legacy messages.
45
     * Test migrating legacy messages.
46
     */
46
     */
47
    public function test_migrating_messages() {
47
    public function test_migrating_messages(): void {
Línea 48... Línea 48...
48
        global $DB;
48
        global $DB;
49
 
49
 
50
        // Create users to test with.
50
        // Create users to test with.
Línea 178... Línea 178...
178
    }
178
    }
Línea 179... Línea 179...
179
 
179
 
180
    /**
180
    /**
181
     * Test migrating legacy notifications.
181
     * Test migrating legacy notifications.
182
     */
182
     */
183
    public function test_migrating_notifications() {
183
    public function test_migrating_notifications(): void {
Línea 184... Línea 184...
184
        global $DB;
184
        global $DB;
185
 
185
 
186
        // Create users to test with.
186
        // Create users to test with.
Línea 262... Línea 262...
262
    }
262
    }
Línea 263... Línea 263...
263
 
263
 
264
    /**
264
    /**
265
     * Test migrating a legacy message that contains null as the format.
265
     * Test migrating a legacy message that contains null as the format.
266
     */
266
     */
267
    public function test_migrating_message_null_format() {
267
    public function test_migrating_message_null_format(): void {
Línea 268... Línea 268...
268
        global $DB;
268
        global $DB;
269
 
269
 
270
        // Create users to test with.
270
        // Create users to test with.
Línea 290... Línea 290...
290
    }
290
    }
Línea 291... Línea 291...
291
 
291
 
292
    /**
292
    /**
293
     * Test migrating a legacy notification that contains null as the format.
293
     * Test migrating a legacy notification that contains null as the format.
294
     */
294
     */
295
    public function test_migrating_notification_null_format() {
295
    public function test_migrating_notification_null_format(): void {
Línea 296... Línea 296...
296
        global $DB;
296
        global $DB;
297
 
297
 
298
        // Create users to test with.
298
        // Create users to test with.
Línea 318... Línea 318...
318
    }
318
    }
Línea 319... Línea 319...
319
 
319
 
320
    /**
320
    /**
321
     * Test migrating a legacy message that a user sent to themselves then deleted.
321
     * Test migrating a legacy message that a user sent to themselves then deleted.
322
     */
322
     */
323
    public function test_migrating_message_deleted_message_sent_to_self() {
323
    public function test_migrating_message_deleted_message_sent_to_self(): void {
Línea 324... Línea 324...
324
        global $DB;
324
        global $DB;
325
 
325