MDL-83143: core_communication: Fix variable name typos

This commit is contained in:
Safat
2024-10-11 11:02:19 +11:00
parent 52c0da7c64
commit 0b47dfec7c
2 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -69,10 +69,10 @@ class api_test extends \advanced_testcase {
// Set the data.
$communication->set_data($course);
$roomnameidenfier = $communication->get_provider() . 'roomname';
$roomnameidentifier = $communication->get_provider() . 'roomname';
// Test the set data.
$this->assertEquals($roomname, $course->$roomnameidenfier);
$this->assertEquals($roomname, $course->$roomnameidentifier);
$this->assertEquals($provider, $course->selectedcommunication);
}