mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-83468 phpunit: Fix various tests after phpunit 10
This commit is contained in:
parent
b95a8c6ecc
commit
bc75ef8bbc
51 changed files with 717 additions and 659 deletions
|
@ -314,7 +314,7 @@ class phpunit_util extends testing_util {
|
|||
|
||||
if ($warnings) {
|
||||
$warnings = implode("\n", $warnings);
|
||||
trigger_error($warnings, E_USER_WARNING);
|
||||
throw new \core_phpunit\exception\test_exception($warnings);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue