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.

(no description)

File Size: 228 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 admin/tool/mfa/tests/tool_mfa_trait.php

Defines 1 class


Class: admin_setting_managemfa_test  - X-Ref

Tests for MFA admin settings

test_get_factor_combinations_default()   X-Ref
Tests getting the factor combinations


get_factor_combinations_provider()   X-Ref
Data provider for test_get_factor_combinations_with_data_provider().

return: array

test_get_factor_combinations_with_data_provider($factorset, $combinationscount)   X-Ref
Tests getting the factor combinations with data provider

param: array $factorset configured factors
param: int $combinationscount expected count of available combinations

test_factor_combination_checker()   X-Ref
Tests checking the factor combinations