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 402 and 403]

(no description)

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

Defines 1 class


Class: utilities_test  - X-Ref

Unit tests for {@see utilities}.

setUp()   X-Ref
Set up function for tests.


test_is_valid_instance()   X-Ref
Test is_valid_instance method.

return: void

test_can_user_share()   X-Ref
Test can_user_share method.

return: void

test_does_user_have_capability_in_any_course()   X-Ref
Test does_user_have_capability_in_any_course method.

return: void