-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
5.0
-
None
-
MOODLE_500_STABLE
See the following GHA action run:
Running unit tests on Windows, we get the following failures on the main (5.0) branch. This does not seem to happen on 405 or earlier.
Happens on PHP8.2 and 8.4
1) core\dml_test::test_add_sql_debugging
|
Failed asserting that 'SELECT * FROM {users}\n
|
-- line 62 of \lib\dml\tests\fixtures\test_dml_sql_debugging_fixture.php: call to ReflectionMethod->invoke()' matches PCRE pattern "@SELECT \* FROM {users}
|
-- line \d+ of \lib\dml\tests\fixtures\test_dml_sql_debugging_fixture.php: call to ReflectionMethod->invoke\(\)@".
|
Happens on PHP 8.4
2) core\filelib_test::test_download_file_content
|
Failed asserting that '' is false.
|
D:\a\moodle\moodle\lib\tests\filelib_test.php:138
|
|
3) core\filelib_test::test_curl_basics
|
Failed asserting that two strings are identical.
|
--- Expected
|
+++ Actual
|
@@ @@
|
-'404 Not Found'
|
+'200 OK'
|
D:\a\moodle\moodle\lib\tests\filelib_test.php:242
|
|
4) tool_moodlenet\local\import_processor_test::test_process_invalid_resource
|
Failed asserting that exception of type "coding_exception" is thrown.
|
|
5) tool_moodlenet\local\remote_resource_test::test_network_features
|
Failed asserting that exception of type "coding_exception" is thrown.
|
- is a regression caused by
-
MDL-83468 Bump to PHPUnit 11
-
- Closed
-