Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GDPR support #54

Open
golenkovm opened this issue Nov 14, 2021 · 0 comments
Open

Add GDPR support #54

golenkovm opened this issue Nov 14, 2021 · 0 comments

Comments

@golenkovm
Copy link

golenkovm commented Nov 14, 2021

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@cf7f7c4e89bd:/var/www/site# vendor/bin/phpunit --testsuite='core_privacy_testsuite'
Moodle 3.9.11 (Build: 20211108), 2f59059095d9a1779195e2d3df6c19b399413ed3
Php: 7.4.25, pgsql: 9.6.16, OS: Linux 5.4.0-89-generic x86_64
PHPUnit 7.5.20 by Sebastian Bergmann and contributors.

.............................................................   61 / 1525 (  4%)
.............................................................  122 / 1525 (  8%)
.............................................................  183 / 1525 ( 12%)
.............................................................  244 / 1525 ( 16%)
.............................................................  305 / 1525 ( 20%)
.............................................................  366 / 1525 ( 24%)
.............................................................  427 / 1525 ( 28%)
.............................................................  488 / 1525 ( 32%)
.............................................................  549 / 1525 ( 36%)
.............................................................  610 / 1525 ( 40%)
.............................................................  671 / 1525 ( 44%)
.............................................................  732 / 1525 ( 48%)
................................................F............  793 / 1525 ( 52%)
.............................................................  854 / 1525 ( 56%)
.............................................................  915 / 1525 ( 60%)
.............................................................  976 / 1525 ( 64%)
............................................................. 1037 / 1525 ( 68%)
............................................................. 1098 / 1525 ( 72%)
............................................................. 1159 / 1525 ( 76%)
............................................................. 1220 / 1525 ( 80%)
............................................................. 1281 / 1525 ( 84%)
............................................................. 1342 / 1525 ( 88%)
............................................................. 1403 / 1525 ( 92%)
.....................F....................................... 1464 / 1525 ( 96%)
............................................................. 1525 / 1525 (100%)


Time: 49.83 seconds, Memory: 161.00 MB

There were 2 failures:

1) provider_testcase::test_all_providers_compliant with data set "block_grade_me" ('block_grade_me', 'block_grade_me\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

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

2) provider_testcase::test_table_coverage
The following tables with user fields must be covered with metadata providers: 
  - block_grade_me_quiz_ngrade (userid)

/var/www/site/privacy/tests/provider_test.php:327
/var/www/site/lib/phpunit/classes/advanced_testcase.php:80

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

FAILURES!
Tests: 1525, Assertions: 10872, Failures: 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant