diff --git a/src/transformer/utils/get_activity/course_forum.php b/src/transformer/utils/get_activity/course_forum.php index 3dc7bc7ca..6fcc45103 100644 --- a/src/transformer/utils/get_activity/course_forum.php +++ b/src/transformer/utils/get_activity/course_forum.php @@ -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 ); } diff --git a/tests/mod_forum/course_module_viewed/existing_module/statements.json b/tests/mod_forum/course_module_viewed/existing_module/statements.json index 51778f41e..5a7f67491 100644 --- a/tests/mod_forum/course_module_viewed/existing_module/statements.json +++ b/tests/mod_forum/course_module_viewed/existing_module/statements.json @@ -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" } diff --git a/tests/mod_forum/discussion_created/statements.json b/tests/mod_forum/discussion_created/statements.json index dae8d1106..54a14cb0b 100644 --- a/tests/mod_forum/discussion_created/statements.json +++ b/tests/mod_forum/discussion_created/statements.json @@ -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" } diff --git a/tests/mod_forum/discussion_viewed/existing_discussion_viewed/statements.json b/tests/mod_forum/discussion_viewed/existing_discussion_viewed/statements.json index becf351ff..9343f789c 100644 --- a/tests/mod_forum/discussion_viewed/existing_discussion_viewed/statements.json +++ b/tests/mod_forum/discussion_viewed/existing_discussion_viewed/statements.json @@ -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" } diff --git a/tests/mod_forum/post_created/statements.json b/tests/mod_forum/post_created/statements.json index 8884fa992..7e6b3342b 100644 --- a/tests/mod_forum/post_created/statements.json +++ b/tests/mod_forum/post_created/statements.json @@ -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" }