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.

(no description)

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

Defines 1 class


Class: cohort_handler_test  - X-Ref

Unit tests for cohort custom field handler.

setUp()   X-Ref
Setup.


create_cohort_custom_field()   X-Ref
Create Cohort custom field for testing.

return: field_controller

test_get_configuration_context()   X-Ref
Test configuration context.


test_get_configuration_url()   X-Ref
Test getting config URL.


test_can_configure()   X-Ref
Test can configure check.


test_get_instance_context()   X-Ref
Test getting instance context.


test_can_edit()   X-Ref
Test can edit functionality.


test_can_view()   X-Ref
Test can view functionality.