jcrodriguez-dis / moodle-mod_vpl

Virtual Programming Lab for Moodle (Module)
GNU General Public License v3.0
98 stars 85 forks source link

Failing unit test - test_table_coverage, need more metadata providers #115

Closed kristian-94 closed 1 year ago

kristian-94 commented 3 years ago

1) provider_testcase::test_table_coverage The following tables with user fields must be covered with metadata providers:

  • vpl_assigned_variations (userid)
  • vpl_running_processes (userid)

/siteroot/privacy/tests/provider_test.php:327 /siteroot/lib/phpunit/classes/advanced_testcase.php:80

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

Looks like we need to include more metadata fields in our get_metadata function. This is testing in moodle 3.9

jcrodriguez-dis commented 3 years ago

Thanks for your early bug report, Kristian.

I know that automated tests are needed to ensure the quality of the software, but some generic tests may need to be more customizable:

jcrodriguez-dis commented 1 year ago

Resolved