Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 33... Línea 33...
33
    }
33
    }
Línea 34... Línea 34...
34
 
34
 
35
    /**
35
    /**
36
     * Test course_module_instance_list_viewed event.
36
     * Test course_module_instance_list_viewed event.
37
     */
37
     */
38
    public function test_logging() {
38
    public function test_logging(): void {
39
        // There is no proper API to call to trigger this event, so what we are
39
        // There is no proper API to call to trigger this event, so what we are
40
        // doing here is simply making sure that the events returns the right information.
40
        // doing here is simply making sure that the events returns the right information.
41
        $course = $this->getDataGenerator()->create_course();
41
        $course = $this->getDataGenerator()->create_course();
42
        $params = array(
42
        $params = array(