Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 40... Línea 40...
40
    }
40
    }
Línea 41... Línea 41...
41
 
41
 
42
    /**
42
    /**
43
     * Tests the event details.
43
     * Tests the event details.
44
     */
44
     */
45
    public function test_event() {
45
    public function test_event(): void {
46
        global $CFG;
46
        global $CFG;
Línea 47... Línea 47...
47
        require_once("$CFG->libdir/gradelib.php");
47
        require_once("$CFG->libdir/gradelib.php");
48
 
48
 
Línea 85... Línea 85...
85
    }
85
    }
Línea 86... Línea 86...
86
 
86
 
87
    /**
87
    /**
88
     * Tests that the event is fired in the correct locations in core.
88
     * Tests that the event is fired in the correct locations in core.
89
     */
89
     */
90
    public function test_event_is_triggered() {
90
    public function test_event_is_triggered(): void {
Línea 91... Línea 91...
91
        global $DB;
91
        global $DB;
92
 
92
 
93
        // Create the items we need to test with.
93
        // Create the items we need to test with.