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.

Class defining resuable tests methods for external functions

Author: Mark Johnson <mark.johnson@catalyst-eu.net>
Copyright: 2023 Catalyst IT Europe Ltd.
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 92 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

external_function_testcase:: (2 methods):
  test_execute()
  test_execute_user()


Class: external_function_testcase  - X-Ref

Class defining resuable tests methods for external functions

test_execute()   X-Ref
Test that execute() method sets the correct config setting.


test_execute_user()   X-Ref
Test that execute() method sets user preference when a component is passed.