Merge branch 'MDL-81932-404' of https://github.com/safatshahin/moodle into MOODLE_404_STABLE

This commit is contained in:
Andrew Nicols
2024-07-18 11:29:01 +08:00
6 changed files with 104 additions and 42 deletions
+3 -1
View File
@@ -69,8 +69,10 @@ class api_test extends \advanced_testcase {
// Set the data.
$communication->set_data($course);
$roomnameidenfier = $communication->get_provider() . 'roomname';
// Test the set data.
$this->assertEquals($roomname, $course->communicationroomname);
$this->assertEquals($roomname, $course->$roomnameidenfier);
$this->assertEquals($provider, $course->selectedcommunication);
}