You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm seeing several deprecation warnings when running tests on the local plugin.
stefan@nichtsnutz: ~/dev/projects/moodle44 on MOODLE_404_STABLE[?]
$ vendor/bin/phpunit --group=local_kaltura
Moodle 4.4.4+ (Build: 20241115), 63205f03bb97aa410e751dc6b46c969ca23ee962
Php: 8.3.13, mysqli: 8.0.40, OS: Linux 6.8.0-48-generic x86_64
................................................W....WW.......... 65 / 80 ( 81%)
.......W....... 80 / 80 (100%)
Time: 01:00.719, Memory: 346.00 MB
There were 4 warnings:
1) local_kaltura_locallib_testcase::test_local_kaltura_format_lti_instance_object
assertObjectHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectHasProperty() instead.
/home/stefan/dev/projects/moodle44/lib/phpunit/classes/advanced_testcase.php:76
2) local_kaltura_locallib_testcase::test_local_kaltura_log_data_logging_request_data
assertObjectHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectHasProperty() instead.
/home/stefan/dev/projects/moodle44/lib/phpunit/classes/advanced_testcase.php:76
3) local_kaltura_locallib_testcase::test_local_kaltura_log_data_logging_response_data
assertObjectHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectHasProperty() instead.
/home/stefan/dev/projects/moodle44/lib/phpunit/classes/advanced_testcase.php:76
4) local_kaltura_migrationlib_testcase::test_initialization_of_config_values
assertObjectHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectHasProperty() instead.
/home/stefan/dev/projects/moodle44/lib/phpunit/classes/advanced_testcase.php:76
WARNINGS!
Tests: 80, Assertions: 182, Warnings: 4.
i'm seeing several deprecation warnings when running tests on the local plugin.
for reference, please see https://tracker.moodle.org/browse/MDL-81281
The text was updated successfully, but these errors were encountered: