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: externallib_test  - X-Ref

External block functions unit tests

test_get_course_blocks()   X-Ref
Test get_course_blocks


test_get_course_blocks_site_home()   X-Ref
Test get_course_blocks on site home


test_get_course_blocks_overrides()   X-Ref
Test get_course_blocks


test_get_course_blocks_contents()   X-Ref
Test get_course_blocks contents


test_get_course_blocks_contents_with_mathjax()   X-Ref
Test get_course_blocks contents with mathjax.


test_get_dashboard_blocks_default_dashboard()   X-Ref
Test user get default dashboard blocks.


test_get_dashboard_blocks_default_dashboard_including_sticky_block()   X-Ref
Test user get default dashboard blocks including a sticky block.


test_get_dashboard_blocks_custom_user_dashboard()   X-Ref
Test admin get user's custom dashboard blocks.


test_get_dashboard_blocks_other_user_missing_permissions()   X-Ref
Test user tries to get other user blocks not having permission.