From 8fe45756b02d467704bfc3cf599577637710ef08 Mon Sep 17 00:00:00 2001 From: David Pesce Date: Thu, 22 Feb 2018 12:50:39 -0500 Subject: [PATCH] fix: use standard LMS activity type --- lib/translator/src/Events/Event.php | 2 +- tests/lib/emitter/event_test.php | 2 +- tests/lib/translator/event_test.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/translator/src/Events/Event.php b/lib/translator/src/Events/Event.php index aa076a300..c4d7e6b5c 100644 --- a/lib/translator/src/Events/Event.php +++ b/lib/translator/src/Events/Event.php @@ -28,7 +28,7 @@ class Event extends PhpObj { */ const CONTEXT_EXT_KEY = 'http://lrs.learninglocker.net/define/extensions/moodle_logstore_standard_log'; - protected static $xapitype = 'http://lrs.learninglocker.net/define/type/moodle/'; + protected static $xapitype = 'http://id.tincanapi.com/activitytype/lms'; /** * Reads data for an event. diff --git a/tests/lib/emitter/event_test.php b/tests/lib/emitter/event_test.php index c0985ab9d..c861b0d73 100644 --- a/tests/lib/emitter/event_test.php +++ b/tests/lib/emitter/event_test.php @@ -25,7 +25,7 @@ use \Locker\XApi\Statement as Statement; abstract class event_test extends \advanced_testcase { - protected static $xapitype = 'http://lrs.learninglocker.net/define/type/moodle/'; + protected static $xapitype = 'http://id.tincanapi.com/activitytype/lms'; protected static $recipename; /** diff --git a/tests/lib/translator/event_test.php b/tests/lib/translator/event_test.php index 14349b6a7..a944ee1b7 100644 --- a/tests/lib/translator/event_test.php +++ b/tests/lib/translator/event_test.php @@ -24,7 +24,7 @@ use \MXTranslator\Events\Event as Event; abstract class event_test extends \advanced_testcase { - protected static $xapitype = 'http://lrs.learninglocker.net/define/type/moodle/'; + protected static $xapitype = 'http://id.tincanapi.com/activitytype/lms'; protected static $recipename; /**