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

core_privacy_testsuite is throwing errors and showing an unexpected debugging call #230

Open
ewallah opened this issue Dec 14, 2024 · 0 comments

Comments

@ewallah
Copy link

ewallah commented Dec 14, 2024

manager_test (core_privacy\manager_test)
✘ Installed plugins 14 ms

├ Unexpected debugging() call detected.
├ Debugging: Coding error detected, it must be fixed by a programmer: When including this file for a unit test, the test must be run in an isolated process. See the PHPUnit @runInSeparateProcess and @runTestsInSeparateProcesses annotations.
├ * line 35 of /lib/externallib.php: call to require_phpunit_isolation()
├ * line 21 of /admin/tool/trigger/classes/steps/actions/webservice_action_step.php: call to require_once()
├ * line 194 of /lib/classes/component.php: call to include_once()
├ * line 107 of /admin/tool/trigger/classes/privacy/provider.php: call to core_component::classloader()
├ * line 7817 of /lib/moodlelib.php: call to tool_trigger\privacy\provider::get_metadata()
├ * line 578 of /privacy/classes/manager.php: call to component_class_callback()
├ * line 611 of /privacy/classes/manager.php: call to core_privacy\manager::component_class_callback()
├ * line 203 of /privacy/classes/manager.php: call to core_privacy\manager->handled_component_class_callback()
├ * line 244 of /privacy/tests/manager_test.php: call to core_privacy\manager->get_metadata_for_components()
├ * line 1617 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to core_privacy\manager_test->test_installed_plugins()
├ * line 1223 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestCase->runTest()
├ * line 76 of /lib/phpunit/classes/advanced_testcase.php: call to PHPUnit\Framework\TestCase->runBare()
├ * line 729 of /vendor/phpunit/phpunit/src/Framework/TestResult.php: call to advanced_testcase->runBare()
├ * line 973 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestResult->run()
├ * line 685 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestCase->run()
├ * line 685 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
├ * line 685 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
├ * line 651 of /vendor/phpunit/phpunit/src/TextUI/TestRunner.php: call to PHPUnit\Framework\TestSuite->run()
├ * line 146 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\TestRunner->run()
├ * line 99 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\Command->run()
├ * line 107 of /vendor/phpunit/phpunit/phpunit: call to PHPUnit\TextUI\Command::main()
├ * line 122 of /vendor/bin/phpunit: call to include()

╵ phpunit/classes/advanced_testcase.php:101

provider_test (core_privacy\privacy\provider_test)
✘ Metadata provider with tool_trigger 43 ms

├ Error: Class "\tool_trigger\steps\actions\webservice_action_step" not found

╵ admin/tool/trigger/classes/privacy/provider.php:107
╵ privacy/tests/privacy/provider_test.php:120
╵ lib/phpunit/classes/advanced_testcase.php:76

✘ Table coverage 147 ms

├ Error: Class "\tool_trigger\steps\actions\webservice_action_step" not found

╵ admin/tool/trigger/classes/privacy/provider.php:107
╵ privacy/tests/privacy/provider_test.php:318
╵ lib/phpunit/classes/advanced_testcase.php:76

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