Search moodle.org's
Developer Documentation

See Release Notes

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

Differences Between: [Versions 311 and 403] [Versions 400 and 403] [Versions 401 and 403] [Versions 402 and 403]

(no description)

File Size: 378 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: lib_test  - X-Ref

Contains tests for the cohort library.

test_enrol_cohort_create_new_group()   X-Ref
Test that a new group with the name of the cohort is created.


test_get_user_enrolment_actions()   X-Ref
Test for getting user enrolment actions.


test_enrol_cohort_unenrolaction_suspend_only()   X-Ref
No description

test_validate_plugin_data_context()   X-Ref
Test the behaviour of validate_plugin_data_context().


test_fill_enrol_custom_fields()   X-Ref
Test the behaviour of fill_enrol_custom_fields().


test_validate_enrol_plugin_data()   X-Ref
Test the behaviour of validate_enrol_plugin_data().