Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 37... Línea 37...
37
final class course_module_viewed_test extends advanced_testcase {
37
final class course_module_viewed_test extends advanced_testcase {
Línea 38... Línea 38...
38
 
38
 
39
    /**
39
    /**
40
     * Test event properties and methods.
40
     * Test event properties and methods.
41
     */
41
     */
Línea 42... Línea 42...
42
    public function test_event_attributes() {
42
    public function test_event_attributes(): void {
43
 
43
 
44
        $this->resetAfterTest();
44
        $this->resetAfterTest();
45
        $course = $this->getDataGenerator()->create_course();
45
        $course = $this->getDataGenerator()->create_course();
Línea 69... Línea 69...
69
    }
69
    }
Línea 70... Línea 70...
70
 
70
 
71
    /**
71
    /**
72
     * Test custom validations of the event.
72
     * Test custom validations of the event.
73
     */
73
     */
Línea 74... Línea 74...
74
    public function test_event_validations() {
74
    public function test_event_validations(): void {
75
 
75
 
76
        // Make sure objecttable and object id is always set.
76
        // Make sure objecttable and object id is always set.
77
        try {
77
        try {