Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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.