Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Class: lib_test  - X-Ref

Cohort library tests.

test_cohort_add_cohort()   X-Ref
No description

test_cohort_add_cohort_missing_name()   X-Ref
No description

test_cohort_add_cohort_event()   X-Ref
No description

test_cohort_update_cohort()   X-Ref
No description

test_cohort_update_cohort_event()   X-Ref
No description

test_cohort_delete_cohort()   X-Ref
No description

test_cohort_delete_cohort_event()   X-Ref
No description

test_cohort_delete_category()   X-Ref
No description

test_cohort_add_member()   X-Ref
No description

test_cohort_add_member_event()   X-Ref
No description

test_cohort_remove_member()   X-Ref
No description

test_cohort_remove_member_event()   X-Ref
No description

test_cohort_is_member()   X-Ref
No description

test_cohort_get_cohorts()   X-Ref
No description

test_cohort_get_all_cohorts()   X-Ref
No description

test_cohort_get_available_cohorts()   X-Ref
No description

test_cohort_add_theme_cohort()   X-Ref
Create a cohort with allowcohortthemes enabled/disabled.


test_cohort_update_theme_cohort()   X-Ref
Update a cohort with allowcohortthemes enabled/disabled.