MDL-40697 mod_*: fixed unit tests so they pass
[moodle.git] / mod / scorm / tests / events_test.php
index 97ee85e..48a80a9 100644 (file)
@@ -71,7 +71,7 @@ class mod_scorm_event_testcase extends advanced_testcase {
         $event = reset($events);
 
         // Verify data.
-        $this->assertCount(1, $events);
+        $this->assertCount(3, $events);
         $this->assertInstanceOf('\mod_scorm\event\attempt_deleted', $event);
         $this->assertEquals($USER->id, $event->userid);
         $this->assertEquals(context_module::instance($this->eventcm->id), $event->get_context());