Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 45... Línea 45...
45
    }
45
    }
Línea 46... Línea 46...
46
 
46
 
47
    /**
47
    /**
48
     * Test is_system_configured
48
     * Test is_system_configured
49
     */
49
     */
50
    public function test_is_system_configured() {
50
    public function test_is_system_configured(): void {
Línea 51... Línea 51...
51
        global $DB;
51
        global $DB;
Línea 52... Línea 52...
52
 
52
 
Línea 71... Línea 71...
71
    }
71
    }
Línea 72... Línea 72...
72
 
72
 
73
    /**
73
    /**
74
     * Test are_notification_preferences_configured
74
     * Test are_notification_preferences_configured
75
     */
75
     */
Línea 76... Línea 76...
76
    public function test_are_notification_preferences_configured() {
76
    public function test_are_notification_preferences_configured(): void {
Línea 77... Línea 77...
77
 
77
 
78
        $this->resetAfterTest(true);
78
        $this->resetAfterTest(true);
Línea 119... Línea 119...
119
    }
119
    }
Línea 120... Línea 120...
120
 
120
 
121
    /**
121
    /**
122
     * Test get_user_devices
122
     * Test get_user_devices
123
     */
123
     */
124
    public function test_get_user_devices() {
124
    public function test_get_user_devices(): void {
125
        global $CFG, $DB;
125
        global $CFG, $DB;
Línea 126... Línea 126...
126
        require_once($CFG->dirroot . '/user/externallib.php');
126
        require_once($CFG->dirroot . '/user/externallib.php');
127
 
127
 
Línea 148... Línea 148...
148
    }
148
    }
Línea 149... Línea 149...
149
 
149
 
150
    /**
150
    /**
151
     * Test get_user_devices permissions
151
     * Test get_user_devices permissions
152
     */
152
     */
153
    public function test_get_user_devices_permissions() {
153
    public function test_get_user_devices_permissions(): void {
154
        global $CFG, $DB;
154
        global $CFG, $DB;
Línea 155... Línea 155...
155
        require_once($CFG->dirroot . '/user/externallib.php');
155
        require_once($CFG->dirroot . '/user/externallib.php');
156
 
156
 
Línea 165... Línea 165...
165
    }
165
    }
Línea 166... Línea 166...
166
 
166
 
167
    /**
167
    /**
168
     * Test enable_device
168
     * Test enable_device
169
     */
169
     */
170
    public function test_enable_device() {
170
    public function test_enable_device(): void {
Línea 171... Línea 171...
171
        global $USER, $DB;
171
        global $USER, $DB;
172
 
172