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.

PHPUnit tool_brickfield tests

Author: Mike Churchward (mike@brickfieldlabs.ie)
Copyright: 2020 onward: Brickfield Education Labs, www.brickfield.ie
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 187 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: registration_test  - X-Ref

Unit tests for {@registration tool_brickfield\registration.php}.

setUpBeforeClass()   X-Ref
No description

test_initial_state()   X-Ref
Tests the state of the registration system when first installed.


test_set_keys_for_registration()   X-Ref
Test the various states for setting registration keys.


test_validation()   X-Ref
Test the validation system through its several states.


test_validation_time_expiry()   X-Ref
Tests the system after validation grace periods expire.


test_summary_time_expiry()   X-Ref
Tests the system after summary data time periods expire.