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.

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