Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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.