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.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

Auth external functions tests.

Copyright: 2016 Juan Leyva
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 240 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: external_test  - X-Ref

External auth API tests.

setUp()   X-Ref
Set up for every test


tearDown()   X-Ref
Tear down to restore old logging..


test_confirm_user()   X-Ref
Test confirm_user


test_age_digital_consent_verification_is_not_enabled()   X-Ref
Test age digital consent not enabled.


test_age_digital_consent_verification_is_enabled()   X-Ref
Test age digital consent is enabled.


test_resend_confirmation_email()   X-Ref
Test resend_confirmation_email.


test_resend_confirmation_email_invalid_username()   X-Ref
Test resend_confirmation_email invalid username.


test_resend_confirmation_email_invalid_password()   X-Ref
Test resend_confirmation_email invalid password.


test_resend_confirmation_email_already_confirmed_user()   X-Ref
Test resend_confirmation_email already confirmed user.