Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 67... Línea 67...
67
        $provider = 'communication_matrix';
67
        $provider = 'communication_matrix';
Línea 68... Línea 68...
68
 
68
 
69
        // Set the data.
69
        // Set the data.
Línea -... Línea 70...
-
 
70
        $communication->set_data($course);
-
 
71
 
70
        $communication->set_data($course);
72
        $roomnameidenfier = $communication->get_provider() . 'roomname';
71
 
73
 
72
        // Test the set data.
74
        // Test the set data.
73
        $this->assertEquals($roomname, $course->communicationroomname);
75
        $this->assertEquals($roomname, $course->$roomnameidenfier);
Línea 74... Línea 76...
74
        $this->assertEquals($provider, $course->selectedcommunication);
76
        $this->assertEquals($provider, $course->selectedcommunication);
75
    }
77
    }
Línea 485... Línea 487...
485
        $this->assertCount(1, $adhoctask);
487
        $this->assertCount(1, $adhoctask);
Línea 486... Línea 488...
486
 
488
 
487
        // Now delete all the ad-hoc tasks.
489
        // Now delete all the ad-hoc tasks.
Línea -... Línea 490...
-
 
490
        $DB->delete_records('task_adhoc');
-
 
491
 
488
        $DB->delete_records('task_adhoc');
492
        $course->customlinkurl = $course->customlinkurl ?? 'https://moodle.org';
489
 
493
 
490
        // Now change the provider to another one.
494
        // Now change the provider to another one.
491
        $communication->configure_room_and_membership_by_provider(
495
        $communication->configure_room_and_membership_by_provider(
492
            provider: 'communication_customlink',
496
            provider: 'communication_customlink',