tool_ally\event_handlers_test::test_course_restored
Unexpected debugging() call detected.
Debugging: Class \course_backup\copy\copy is deprecated. Please use the copy_helper class instead.
line 91 of /backup/util/ui/classes/copy/copy.php: call to debugging()
line 331 of /admin/tool/ally/tests/event_handlers_test.php: call to core_backup\copy\copy->__construct()
line 1545 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to tool_ally\event_handlers_test->test_course_restored()
line 1151 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 726 of /vendor/phpunit/phpunit/src/Framework/TestResult.php: call to advanced_testcase->runBare()
line 903 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestResult->run()
line 677 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestCase->run()
line 677 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
line 677 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
line 670 of /vendor/phpunit/phpunit/src/TextUI/TestRunner.php: call to PHPUnit\Framework\TestSuite->run()
line 143 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\TestRunner->run()
line 96 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\Command->run()
line 97 of phpvfscomposer:///vendor/phpunit/phpunit/phpunit: call to PHPUnit\TextUI\Command::main()
line 118 of /vendor/bin/phpunit: call to include()
Debugging: The method \core_backup\copy\copy::create_copy() is deprecated.
Please use the methods provided by copy_helper instead.
line 148 of /backup/util/ui/classes/copy/copy.php: call to debugging()
line 332 of /admin/tool/ally/tests/event_handlers_test.php: call to core_backup\copy\copy->create_copy()
line 1545 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to tool_ally\event_handlers_test->test_course_restored()
line 1151 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 726 of /vendor/phpunit/phpunit/src/Framework/TestResult.php: call to advanced_testcase->runBare()
line 903 of /vendor/phpunit/phpunit/src/Framework/TestCase.php: call to PHPUnit\Framework\TestResult->run()
line 677 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestCase->run()
line 677 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
line 677 of /vendor/phpunit/phpunit/src/Framework/TestSuite.php: call to PHPUnit\Framework\TestSuite->run()
line 670 of /vendor/phpunit/phpunit/src/TextUI/TestRunner.php: call to PHPUnit\Framework\TestSuite->run()
line 143 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\TestRunner->run()
line 96 of /vendor/phpunit/phpunit/src/TextUI/Command.php: call to PHPUnit\TextUI\Command->run()
line 97 of phpvfscomposer:///vendor/phpunit/phpunit/phpunit: call to PHPUnit\TextUI\Command::main()
line 118 of /vendor/bin/phpunit: call to include()
https://github.com/open-lms-open-source/moodle-tool_ally/blob/MOODLE_311_STABLE/tests/event_handlers_test.php#L331
tool_ally\event_handlers_test::test_course_restored Unexpected debugging() call detected. Debugging: Class \course_backup\copy\copy is deprecated. Please use the copy_helper class instead.
/var/www/html/lib/phpunit/classes/advanced_testcase.php:88 phpvfscomposer:///var/www/html/vendor/phpunit/phpunit/phpunit:97