Skip to content

Commit

Permalink
fix forum
Browse files Browse the repository at this point in the history
  • Loading branch information
milt committed Oct 8, 2024
1 parent d6f5f3c commit 21ad22d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/transformer/utils/get_activity/course_forum.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ function course_forum(array $config, \stdClass $course, string $cmid) {
return utils\get_activity\course_module(
$config,
$course,
$cmid,
'http://id.tincanapi.com/activitytype/forum-topic'
$cmid
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"object": {
"id": "http://www.example.org/mod/forum/view.php?id=1",
"definition": {
"type": "http://id.tincanapi.com/activitytype/forum-topic",
"type": "https://xapi.edlm/profiles/edlm-lms/concepts/activity-types/forum",
"name": {
"en": "test_name"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/mod_forum/discussion_created/statements.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
{
"id": "http://www.example.org/mod/forum/view.php?id=1",
"definition": {
"type": "http://id.tincanapi.com/activitytype/forum-topic",
"type": "https://xapi.edlm/profiles/edlm-lms/concepts/activity-types/forum",
"name": {
"en": "test_forum_name"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
{
"id": "http://www.example.org/mod/forum/view.php?id=1",
"definition": {
"type": "http://id.tincanapi.com/activitytype/forum-topic",
"type": "https://xapi.edlm/profiles/edlm-lms/concepts/activity-types/forum",
"name": {
"en": "test_forum_name"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/mod_forum/post_created/statements.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
{
"id": "http://www.example.org/mod/forum/view.php?id=1",
"definition": {
"type": "http://id.tincanapi.com/activitytype/forum-topic",
"type": "https://xapi.edlm/profiles/edlm-lms/concepts/activity-types/forum",
"name": {
"en": "test_forum_name"
}
Expand Down

0 comments on commit 21ad22d

Please sign in to comment.