Skip to content

Commit

Permalink
fix: Fixes the attempt_submitted event.
Browse files Browse the repository at this point in the history
fix: Fix to use the standard LMS activity type.
  • Loading branch information
davidpesce authored Feb 22, 2018
2 parents 373dea9 + 8fe4575 commit 516bf88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/translator/src/Events/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/emitter/event_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/translator/event_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down

0 comments on commit 516bf88

Please sign in to comment.