MDL-62660 tool_dataprivacy: Add and update PHPUnit tests
authorMichael Hawkins <michaelh@moodle.com>
Fri, 10 Aug 2018 07:13:42 +0000 (15:13 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 20 Aug 2018 07:31:20 +0000 (15:31 +0800)
commit95a844ebdc729e0db9f76637c5be2cdfa2068337
tree812c695f406c1b85b5b046278aeea0be8a3bf11a
parent5f9a31ee796e3c41ae13afc6d5f1757014c07ef7
MDL-62660 tool_dataprivacy: Add and update PHPUnit tests

Updated tests with latest statuses.
Added testing for request download expiry functionality and method.
Added assign_site_dpo within a parent class for unit tests.
admin/tool/dataprivacy/tests/api_test.php
admin/tool/dataprivacy/tests/data_privacy_testcase.php [new file with mode: 0644]
admin/tool/dataprivacy/tests/expired_data_requests_test.php [new file with mode: 0644]
admin/tool/dataprivacy/tests/manager_observer_test.php