MDL-63727 mod_scorm: Fixed typo in test_launch_sco()

This commit is contained in:
Matteo Scaramuccia
2018-10-31 22:40:56 +01:00
parent 035c8b349c
commit 925c732053
+1 -1
View File
@@ -855,7 +855,7 @@ class mod_scorm_external_testcase extends externallib_advanced_testcase {
// Checking that the event contains the expected values.
$this->assertInstanceOf('\mod_scorm\event\sco_launched', $event);
$this->assertEquals($this->context, $event->get_context());
$moodleurl = new \moodle_url('/mod/scorm/player.php', array('id' => $this->cm->id, 'scoid' => $sco->id));
$moodleurl = new \moodle_url('/mod/scorm/player.php', array('cm' => $this->cm->id, 'scoid' => $sco->id));
$this->assertEquals($moodleurl, $event->get_url());
$this->assertEventContextNotUsed($event);
$this->assertNotEmpty($event->get_name());