Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 41... Línea 41...
41
 
41
 
42
        // We always need enabled WS for this testcase
42
        // We always need enabled WS for this testcase
43
        set_config('enablewebservices', '1');
43
        set_config('enablewebservices', '1');
Línea 44... Línea 44...
44
    }
44
    }
45
 
45
 
Línea 46... Línea 46...
46
    public function test_get_site_info() {
46
    public function test_get_site_info(): void {
Línea 47... Línea 47...
47
        global $DB, $USER, $CFG, $PAGE;
47
        global $DB, $USER, $CFG, $PAGE;
Línea 199... Línea 199...
199
    }
199
    }
Línea 200... Línea 200...
200
 
200
 
201
    /**
201
    /**
202
     * Test get_site_info with values > PHP_INT_MAX. We check only userquota since maxbytes require PHP ini changes.
202
     * Test get_site_info with values > PHP_INT_MAX. We check only userquota since maxbytes require PHP ini changes.
203
     */
203
     */
204
    public function test_get_site_info_max_int() {
204
    public function test_get_site_info_max_int(): void {
Línea 205... Línea 205...
205
        $this->resetAfterTest(true);
205
        $this->resetAfterTest(true);
Línea 206... Línea 206...
206
 
206
 
Línea 216... Línea 216...
216
    }
216
    }
Línea 217... Línea 217...
217
 
217
 
218
    /**
218
    /**
219
     * Test get_site_info with missing components.
219
     * Test get_site_info with missing components.
220
     */
220
     */
221
    public function test_get_site_missing_components() {
221
    public function test_get_site_missing_components(): void {
Línea 222... Línea 222...
222
        global $USER, $DB;
222
        global $USER, $DB;
223
 
223