Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 37... Línea 37...
37
class provider_test extends \core_privacy\tests\provider_testcase {
37
class provider_test extends \core_privacy\tests\provider_testcase {
Línea 38... Línea 38...
38
 
38
 
39
    /**
39
    /**
40
     * When no preference exists, there should be no export.
40
     * When no preference exists, there should be no export.
41
     */
41
     */
42
    public function test_no_preference() {
42
    public function test_no_preference(): void {
43
        global $USER;
43
        global $USER;
44
        $this->resetAfterTest();
44
        $this->resetAfterTest();
Línea 45... Línea 45...
45
        $this->setAdminUser();
45
        $this->setAdminUser();
Línea 49... Línea 49...
49
    }
49
    }
Línea 50... Línea 50...
50
 
50
 
51
    /**
51
    /**
52
     * Test that the recently selected perpage is exported.
52
     * Test that the recently selected perpage is exported.
53
     */
53
     */
54
    public function test_export_preferences() {
54
    public function test_export_preferences(): void {
55
        global $USER;
55
        global $USER;
56
        $this->resetAfterTest();
56
        $this->resetAfterTest();
Línea 57... Línea 57...
57
        $this->setAdminUser();
57
        $this->setAdminUser();