Moodle 4.2.3+ (Build: 20231020)
Php: 8.1.2.1.2.14, pgsql: 14.9 (Debian 14.9-1.pgdg120+1), OS: Linux 6.2.0-1009-aws x86_64
PHPUnit 9.5.28 by Sebastian Bergmann and contributors.
...
There was 1 error:
1) tool_objectfs\local\tasks_test::test_run_scheduled_tasks
Unexpected debugging() call detected.
Debugging: Inclusion of lib/cronlib.php is no longer required. Please update your code to use the new \core\cron class.
* line 31 of /lib/cronlib.php: call to debugging()
* line 33 of /admin/tool/objectfs/classes/task/delete_local_empty_directories.php: call to require_once()
* line 144 of /lib/classes/component.php: call to include_once()
* line ? of unknownfile: call to core_component::classloader()
* line 375 of /lib/classes/task/manager.php: call to class_exists()
* line 473 of /lib/classes/task/manager.php: call to core\task\manager::scheduled_task_from_record()
* line 66 of /admin/tool/objectfs/tests/local/tasks_test.php: call to core\task\manager::get_scheduled_task()
* line 1548 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to tool_objectfs\local\tasks_test->test_run_scheduled_tasks()
* line 1154 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestCase->runTest()
* line 94 of /lib/phpunit/classes/advanced_testcase.php: call to PHPUnit\Framework\TestCase->runBare()
* line 728 of /vendor/phpunit/phpunit/src/Framework/TestResult.php: call to advanced_testcase->runBare()
* line 904 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestResult->run()
* line 675 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestCase->run()
* line 675 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
* line 675 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
* line 653 of /vendor/phpunit/phpunit/src/TextUI/TestRunner.php: call to PHPUnit\Framework\TestSuite->run()
* line 144 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\TestRunner->run()
* line 97 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\Command->run()
* line 98 of /vendor/phpunit/phpunit/phpunit: call to PHPUnit\TextUI\Command::main()
* line 122 of /vendor/bin/phpunit: call to include()
Stack trace: