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.

(no description)

File Size: 324 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: provider_test  - X-Ref

Unit tests for privacy provider

test_get_metadata()   X-Ref
Test provider metadata


test_get_contexts_for_userid_report()   X-Ref
Test getting contexts for user who created a report


test_get_contexts_for_userid_audience()   X-Ref
Test getting contexts for user who created an audience for a report by another user


test_get_contexts_for_userid_schedule()   X-Ref
Test getting contexts for user who created a schedule for a report by another user


test_get_users_in_context()   X-Ref
Test getting users in given context


test_export_user_data()   X-Ref
Test export of user data


test_export_user_data_empty()   X-Ref
Test export of user data where there is nothing to export


test_export_user_preferences()   X-Ref
Test to check export_user_preferences.