Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

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