Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 400 and 402] [Versions 400 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.