Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-xapi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quentin Pimont
moodle-xapi
Commits
516bf881
Unverified
Commit
516bf881
authored
7 years ago
by
David Pesce
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
fix: Fixes the attempt_submitted event.
fix: Fix to use the standard LMS activity type.
parents
373dea92
8fe45756
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/translator/src/Events/Event.php
+1
-1
1 addition, 1 deletion
lib/translator/src/Events/Event.php
tests/lib/emitter/event_test.php
+1
-1
1 addition, 1 deletion
tests/lib/emitter/event_test.php
tests/lib/translator/event_test.php
+1
-1
1 addition, 1 deletion
tests/lib/translator/event_test.php
with
3 additions
and
3 deletions
lib/translator/src/Events/Event.php
+
1
−
1
View file @
516bf881
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
tests/lib/emitter/event_test.php
+
1
−
1
View file @
516bf881
...
...
@@ -25,7 +25,7 @@ use \XREmitter\Events\Event as Event;
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
;
/**
...
...
This diff is collapsed.
Click to expand it.
tests/lib/translator/event_test.php
+
1
−
1
View file @
516bf881
...
...
@@ -24,7 +24,7 @@ use \PHPUnit_Framework_TestCase as PhpUnitTestCase;
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
;
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment