marxjohnson / moodle-block_messageteacher

Moodle block to display messaging links for teachers on a course
http://moodle.org/mod/data/view.php?d=13&rid=2053
9 stars 9 forks source link

Add GDPR support #32

Closed petersistrom closed 1 year ago

petersistrom commented 1 year ago

As of 3.5 Moodle requires GDPR support to be implemented for all installed plugins. See https://docs.moodle.org/311/en/GDPR

Failing core unit tests:

root@f667725e078b:/var/www/site# vendor/bin/phpunit --testsuite='core_privacy_testsuite'
Moodle 3.9.18+ (Build: 20221201), d2f37aab5678ea198ef8a8082f3204ebae45f38f
Php: 7.4.33, pgsql: 12.8 (Debian 12.8-1.pgdg110+1), OS: Linux 5.15.0-56-generic x86_64
PHPUnit 7.5.20 by Sebastian Bergmann and contributors.

.............................................................   61 / 1357 (  4%)
.............................................................  122 / 1357 (  8%)
.............................................................  183 / 1357 ( 13%)
.............................................................  244 / 1357 ( 17%)
.............................................................  305 / 1357 ( 22%)
.............................................................  366 / 1357 ( 26%)
.............................................................  427 / 1357 ( 31%)
.............................................................  488 / 1357 ( 35%)
.............................................................  549 / 1357 ( 40%)
.............................................................  610 / 1357 ( 44%)
.............................................................  671 / 1357 ( 49%)
...............................F.............................  732 / 1357 ( 53%)
.............................................................  793 / 1357 ( 58%)
.............................................................  854 / 1357 ( 62%)
.............................................................  915 / 1357 ( 67%)
.............................................................  976 / 1357 ( 71%)
............................................................. 1037 / 1357 ( 76%)
............................................................. 1098 / 1357 ( 80%)
............................................................. 1159 / 1357 ( 85%)
............................................................. 1220 / 1357 ( 89%)
............................................................. 1281 / 1357 ( 94%)
............................................................. 1342 / 1357 ( 98%)
...............                                               1357 / 1357 (100%)

Time: 39.32 seconds, Memory: 157.00 MB

There was 1 failure:

1) provider_testcase::test_all_providers_compliant with data set "block_messageteacher" ('block_messageteacher', 'block_messageteacher\privacy\provider')
Failed asserting that false is true.

/var/www/site/privacy/tests/provider_test.php:178
/var/www/site/lib/phpunit/classes/advanced_testcase.php:80
phpvfscomposer:///var/www/site/vendor/phpunit/phpunit/phpunit:60

To re-run:
 vendor/bin/phpunit "provider_testcase" privacy/tests/provider_test.php

FAILURES!
Tests: 1357, Assertions: 9526, Failures: 1.
marxjohnson commented 1 year ago

Closed by #33