Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Class: externallib_test  - X-Ref

Group external PHPunit tests

test_create_groups()   X-Ref
Test create_groups


test_create_group_invalid_visibility()   X-Ref
Test that creating a group with an invalid visibility value throws an exception.

return: void

test_update_groups()   X-Ref
Test update_groups


test_update_groups_invalid_visibility()   X-Ref
Test an exception is thrown when an invalid visibility value is passed in an update.

return: void

test_update_groups_visibility_with_members()   X-Ref
Attempting to change the visibility of a group with members should throw an exception.

return: void

test_update_groups_participation_with_members()   X-Ref
Attempting to change the participation field of a group with members should throw an exception.

return: void

test_get_groups()   X-Ref
Test get_groups


test_delete_groups()   X-Ref
Test delete_groups


test_create_update_groupings()   X-Ref
Test create and update groupings.

return: void

test_get_groupings()   X-Ref
Test get_groupings


test_delete_groupings()   X-Ref
Test delete_groupings.


test_get_course_user_groups()   X-Ref
Test get_groups


test_get_activity_allowed_groups()   X-Ref
Test get_activity_allowed_groups


test_get_activity_groupmode()   X-Ref
Test get_activity_groupmode


test_add_group_members()   X-Ref
Test add_group_members.


test_delete_group_members()   X-Ref
Test delete_group_members.