-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.5
-
None
-
MOODLE_35_STABLE
Hi Gordon,
Moodle core now includes unit tests which check for the existence of the privacy api in all installed plugins - many organisations use continuous integration processes to run all unit tests prior to deploying a production site - EU based organisations will also need the privacy api to allow them to continue using hotpot.
Unfortunately this does look like a bit of work for hotpot - as all the subplugins in hotpot will need to have privacy api implemented as well as the main mod_hotpot plugin.
here's the link to the privacy api docs:
https://docs.moodle.org/dev/Privacy_API
and here's a few example failures from the unit tests (mainly to help people finding this bug using Google)
1) provider_testcase::test_all_providers_compliant with data set "mod_hotpot" ('mod_hotpot', 'mod_hotpot\privacy\provider')
Failed asserting that false is true.
/var/www/html/privacy/tests/provider_test.php:178
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
10) provider_testcase::test_all_providers_compliant with data set "hotpotattempt_hp" ('hotpotattempt_hp', 'hotpotattempt_hp\privacy\provider')
Failed asserting that false is true.
/var/www/html/privacy/tests/provider_test.php:178
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
11) provider_testcase::test_all_providers_compliant with data set "hotpotattempt_html" ('hotpotattempt_html', 'hotpotattempt_html\privacy\provider')
Failed asserting that false is true.
/var/www/html/privacy/tests/provider_test.php:178
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
Hope you are keeping well!