Skip to content

Commit

Permalink
correct lesson session atype
Browse files Browse the repository at this point in the history
  • Loading branch information
milt committed Dec 9, 2024
1 parent a7fc6a2 commit 442459a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/transformer/utils/get_activity/lesson.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function lesson(array $config, \stdClass $course, \stdClass $entry, int $cmid) {
...base(),
'id' => $entryurl,
'definition' => [
'type' => 'http://adlnet.gov/expapi/activities/lesson-session'
'type' => 'https://xapi.edlm/profiles/edlm-lms/concepts/activity-types/lesson-session'
],
];

Expand Down
2 changes: 1 addition & 1 deletion tests/mod_lesson/lesson_ended/statements.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"object": {
"id": "http://www.example.org/mod/lesson/view.php?id=1#lesson",
"definition": {
"type": "http://adlnet.gov/expapi/activities/lesson-session",
"type": "https://xapi.edlm/profiles/edlm-lms/concepts/activity-types/lesson-session",
"name": {
"en": "test_lesson"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/mod_lesson/lesson_restarted/statements.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"object": {
"id": "http://www.example.org/mod/lesson/view.php?id=1#lesson",
"definition": {
"type": "http://adlnet.gov/expapi/activities/lesson-session",
"type": "https://xapi.edlm/profiles/edlm-lms/concepts/activity-types/lesson-session",
"name": {
"en": "test_lesson"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/mod_lesson/lesson_resumed/statements.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"object": {
"id": "http://www.example.org/mod/lesson/view.php?id=1#lesson",
"definition": {
"type": "http://adlnet.gov/expapi/activities/lesson-session",
"type": "https://xapi.edlm/profiles/edlm-lms/concepts/activity-types/lesson-session",
"name": {
"en": "test_lesson"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/mod_lesson/lesson_started/statements.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"object": {
"id": "http://www.example.org/mod/lesson/view.php?id=1#lesson",
"definition": {
"type": "http://adlnet.gov/expapi/activities/lesson-session",
"type": "https://xapi.edlm/profiles/edlm-lms/concepts/activity-types/lesson-session",
"name": {
"en": "test_lesson"
},
Expand Down

0 comments on commit 442459a

Please sign in to comment.