Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 34... Línea 34...
34
class locallib_test extends \advanced_testcase {
34
class locallib_test extends \advanced_testcase {
Línea 35... Línea 35...
35
 
35
 
36
    /**
36
    /**
37
     * Test the function that gets the data - simple case.
37
     * Test the function that gets the data - simple case.
38
     */
38
     */
39
    public function test_tool_capability_calculate_role_data() {
39
    public function test_tool_capability_calculate_role_data(): void {
Línea 40... Línea 40...
40
        global $DB;
40
        global $DB;
Línea 41... Línea 41...
41
 
41
 
Línea 56... Línea 56...
56
    }
56
    }
Línea 57... Línea 57...
57
 
57
 
58
    /**
58
    /**
59
     * Test the function that gets the data - simple case.
59
     * Test the function that gets the data - simple case.
60
     */
60
     */
61
    public function test_tool_capability_calculate_role_data_orphan_contexts() {
61
    public function test_tool_capability_calculate_role_data_orphan_contexts(): void {
62
        global $DB;
62
        global $DB;
Línea 63... Línea 63...
63
        $this->resetAfterTest();
63
        $this->resetAfterTest();
64
 
64