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.

(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.