-
Bug
-
Resolution: Fixed
-
Minor
-
4.1
Found while integrating MDL-76833
$ bin/moodle-docker-compose exec webserver php -d pcov.enabled=1 -d pcov.directory=. vendor/bin/phpunit -c mod/data/phpunit.xml --coverage-html coverage
|
Moodle 4.2dev (Build: 20230105), 1a7a646ca2dae0deca42dc2ec16e823b76993578
|
Php: 7.4.33, mysqli: 5.7.40, OS: Linux 4.15.0-201-generic x86_64
|
PHPUnit 9.5.26 by Sebastian Bergmann and contributors.
|
|
.............................................................W. 63 / 322 ( 19%)
|
............................................................... 126 / 322 ( 39%)
|
............................................................... 189 / 322 ( 58%)
|
............................................................... 252 / 322 ( 78%)
|
............................................................... 315 / 322 ( 97%)
|
....... 322 / 322 (100%)
|
|
Time: 08:53.721, Memory: 143.00 MB
|
|
There was 1 warning:
|
|
1) mod_data\externallib_test::test_add_entry_empty_database
|
"@covers \mod_data\mod_data_external::add_entry" is invalid
|
|
phpvfscomposer:///var/www/html/vendor/phpunit/phpunit/phpunit:97
|
|
WARNINGS!
|
Tests: 322, Assertions: 1746, Warnings: 1.
|
|
Generating code coverage report in HTML format ... done [00:00.964]
|
Seems to come from MDL-75137