Skip to content
Snippets Groups Projects
Commit 9cf012f9 authored by David Pesce's avatar David Pesce Committed by GitHub
Browse files

Merge branch 'master' into v1.4.0

parents 25718cb1 708d4241
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,4 @@ abstract class AttemptTestCase extends TestCase {
'objectid' => 1,
]);
}
}
\ No newline at end of file
}
<?php namespace Tests;
class ScormScorerawTest extends TestCase {
protected function constructInput() {
return array_merge(parent::constructInput(), [
'objecttable' => 'scorm_scoes_track',
'objectid' => 1,
'contextinstanceid' => 1,
'eventname' => '\mod_scorm\event\scoreraw_submitted',
'other' => 'a:3:{s:9:"attemptid";i:1;s:10:"cmielement";s:18:"cmi.core.score.raw";s:8:"cmivalue";s:3:"100";}',
]);
}
}
<?php namespace Tests;
class ScormStatusTest extends TestCase {
protected function constructInput() {
return array_merge(parent::constructInput(), [
'objecttable' => 'scorm_scoes_track',
'objectid' => 1,
'contextinstanceid' => 1,
'eventname' => '\mod_scorm\event\status_submitted',
'other' => 'a:3:{s:9:"attemptid";i:2;s:10:"cmielement";s:22:"cmi.core.lesson_status";s:8:"cmivalue";s:6:"failed";}';
]);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment