From ce507484d6c9256e3c5340a585b86c87aebb090b Mon Sep 17 00:00:00 2001
From: Jerrett Fowler <jerrett.fowler@gmail.com>
Date: Sun, 17 Jul 2016 19:17:05 +0100
Subject: [PATCH] Ignore this for now

---
 tests/AttemptTestCase.php       |  2 +-
 tests/ScormScorerawTestCase.php | 12 ++++++++++++
 tests/ScormStatusTestCase.php   | 12 ++++++++++++
 3 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100644 tests/ScormScorerawTestCase.php
 create mode 100644 tests/ScormStatusTestCase.php

diff --git a/tests/AttemptTestCase.php b/tests/AttemptTestCase.php
index 1fb48b6..bebc1a2 100644
--- a/tests/AttemptTestCase.php
+++ b/tests/AttemptTestCase.php
@@ -7,4 +7,4 @@ abstract class AttemptTestCase extends TestCase {
             'objectid' => 1,
         ]);
     }
-}
\ No newline at end of file
+}
diff --git a/tests/ScormScorerawTestCase.php b/tests/ScormScorerawTestCase.php
new file mode 100644
index 0000000..c62f903
--- /dev/null
+++ b/tests/ScormScorerawTestCase.php
@@ -0,0 +1,12 @@
+<?php namespace Tests;
+
+class ScormScorerawTest extends TestCase {
+    protected function constructInput() {
+        return array_merge(parent::constructInput(), [
+          'objecttable' => 'scorm_scoes_track',
+          'objectid' => 1,
+          'eventname' => '\mod_scorm\event\scoreraw_submitted',
+          'other' => 'a:3:{s:9:"attemptid";i:2;s:10:"cmielement";s:18:"cmi.core.score.raw";s:8:"cmivalue";s:1:"0";}',
+        ]);
+    }
+}
diff --git a/tests/ScormStatusTestCase.php b/tests/ScormStatusTestCase.php
new file mode 100644
index 0000000..5ef3da7
--- /dev/null
+++ b/tests/ScormStatusTestCase.php
@@ -0,0 +1,12 @@
+<?php namespace Tests;
+
+class ScormStatusTest extends TestCase {
+    protected function constructInput() {
+        return array_merge(parent::constructInput(), [
+          'objecttable' => 'scorm_scoes_track',
+          'objectid' => 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";}';
+        ]);
+    }
+}
-- 
GitLab