Differences Between: [Versions 39 and 310]
Tests for scheduled tasks.
Copyright: | 2018 Mihail Geshoski <mihail@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 237 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file admin/tool/dataprivacy/tests/data_privacy_testcase.php |
tool_dataprivacy_task_testcase:: (7 methods):
tearDown()
test_delete_existing_deleted_users_task_no_previous_requests()
test_delete_existing_deleted_users_task_automatic_creation_disabled()
test_delete_existing_deleted_users_task_existing_export_data_requests()
test_delete_existing_deleted_users_task_existing_ongoing_delete_data_requests()
test_delete_existing_deleted_users_task_existing_finished_delete_data_requests()
execute_task()
Class: tool_dataprivacy_task_testcase - X-Ref
Tests for scheduled tasks.tearDown() X-Ref |
Test tearDown. |
test_delete_existing_deleted_users_task_no_previous_requests() X-Ref |
Ensure that a delete data request for pre-existing deleted users is created when there are not any existing data requests for that particular user. |
test_delete_existing_deleted_users_task_automatic_creation_disabled() X-Ref |
Ensure that a delete data request for pre-existing deleted users is not being created when automatic creation of delete data requests is disabled. |
test_delete_existing_deleted_users_task_existing_export_data_requests() X-Ref |
Ensure that a delete data request for pre-existing deleted users is created when there are existing non-delete data requests for that particular user. |
test_delete_existing_deleted_users_task_existing_ongoing_delete_data_requests() X-Ref |
Ensure that a delete data request for pre-existing deleted users is not created when there are existing ongoing delete data requests for that particular user. |
test_delete_existing_deleted_users_task_existing_finished_delete_data_requests() X-Ref |
Ensure that a delete data request for pre-existing deleted users is not created when there are existing finished delete data requests for that particular user. |
execute_task($task) X-Ref |
Helper to execute a particular task. param: string $task The task. |