There were 2 failures:
1) provider_testcase::test_metadata_provider with data set "quizaccess_proctoring" ('quizaccess_proctoring', 'quizaccess_proctoring\privacy\provider')
Expectation failed, debugging() was triggered.
Debugging: Invalid get_string() identifier: 'privacy:metadata:userid' or component 'quizaccess_proctoring'. Perhaps you are missing $string['privacy:metadata:userid'] = ''; in /var/www/site/mod/quiz/accessrule/proctoring/lang/en/quizaccess_proctoring.php?
* line 353 of /lib/classes/string_manager_standard.php: call to debugging()
* line 7410 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
* line 162 of /privacy/tests/provider_test.php: call to get_string()
* line 1154 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to provider_testcase->test_metadata_provider()
* line 842 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestCase->runTest()
* line 80 of /lib/phpunit/classes/advanced_testcase.php: call to PHPUnit\Framework\TestCase->runBare()
* line 693 of /vendor/phpunit/phpunit/src/Framework/TestResult.php: call to advanced_testcase->runBare()
* line 796 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestResult->run()
* line 746 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestCase->run()
* line 746 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
* line 652 of /vendor/phpunit/phpunit/src/TextUI/TestRunner.php: call to PHPUnit\Framework\TestSuite->run()
* line 206 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\TestRunner->doRun()
* line 162 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\Command->run()
* line 60 of phpvfscomposer:///vendor/phpunit/phpunit/phpunit: call to PHPUnit\TextUI\Command::main()
* line 115 of /vendor/bin/phpunit: call to include()
Failed asserting that 1 matches expected 0.
/var/www/site/lib/phpunit/classes/advanced_testcase.php:367
/var/www/site/privacy/tests/provider_test.php:163
/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
2) provider_testcase::test_table_coverage
The following tables with user fields must be covered with metadata providers:
- proctoring_screenshot_logs (userid)
- proctoring_fm_warnings (userid)
/var/www/site/privacy/tests/provider_test.php:327
/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: 1435, Assertions: 11910, Failures: 2.