Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 44... Línea 44...
44
class provider_test extends \core_privacy\tests\provider_testcase {
44
class provider_test extends \core_privacy\tests\provider_testcase {
Línea 45... Línea 45...
45
 
45
 
46
    /**
46
    /**
47
     * Test for provider::get_contexts_for_userid().
47
     * Test for provider::get_contexts_for_userid().
48
     */
48
     */
49
    public function test_get_contexts_for_userid() {
49
    public function test_get_contexts_for_userid(): void {
Línea 50... Línea 50...
50
        global $DB;
50
        global $DB;
51
 
51
 
52
        // Test setup.
52
        // Test setup.
Línea 146... Línea 146...
146
    }
146
    }
Línea 147... Línea 147...
147
 
147
 
148
    /**
148
    /**
149
     * Test for provider::export_user_data().
149
     * Test for provider::export_user_data().
150
     */
150
     */
151
    public function test_export_user_data() {
151
    public function test_export_user_data(): void {
Línea 152... Línea 152...
152
        global $DB;
152
        global $DB;
153
 
153
 
154
        // Test setup.
154
        // Test setup.
Línea 237... Línea 237...
237
    }
237
    }
Línea 238... Línea 238...
238
 
238
 
239
    /**
239
    /**
240
     * Test for provider::delete_data_for_all_users_in_context().
240
     * Test for provider::delete_data_for_all_users_in_context().
241
     */
241
     */
242
    public function test_delete_data_for_all_users_in_context() {
242
    public function test_delete_data_for_all_users_in_context(): void {
Línea 243... Línea 243...
243
        global $DB;
243
        global $DB;
244
 
244
 
245
        // Test setup.
245
        // Test setup.
Línea 300... Línea 300...
300
    }
300
    }
Línea 301... Línea 301...
301
 
301
 
302
    /**
302
    /**
303
     * Test for provider::delete_data_for_user().
303
     * Test for provider::delete_data_for_user().
304
     */
304
     */
305
    public function test_delete_data_for_user() {
305
    public function test_delete_data_for_user(): void {
Línea 306... Línea 306...
306
        global $DB;
306
        global $DB;
307
 
307
 
308
        // Test setup.
308
        // Test setup.
Línea 362... Línea 362...
362
    }
362
    }
Línea 363... Línea 363...
363
 
363
 
364
    /**
364
    /**
365
     * Test that only users within a course context are fetched.
365
     * Test that only users within a course context are fetched.
366
     */
366
     */
367
    public function test_get_users_in_context() {
367
    public function test_get_users_in_context(): void {
Línea 368... Línea 368...
368
        global $DB;
368
        global $DB;
Línea 369... Línea 369...
369
 
369
 
Línea 454... Línea 454...
454
    }
454
    }
Línea 455... Línea 455...
455
 
455
 
456
    /**
456
    /**
457
     * Test that data for users in approved userlist is deleted.
457
     * Test that data for users in approved userlist is deleted.
458
     */
458
     */
459
    public function test_delete_data_for_users() {
459
    public function test_delete_data_for_users(): void {
Línea 460... Línea 460...
460
        global $DB;
460
        global $DB;
Línea 461... Línea 461...
461
 
461